Skip to content

Commit

Permalink
Merge pull request #1064 from SFDO-Community/feature/developer-experi…
Browse files Browse the repository at this point in the history
…ence-basics

Developer Experience I: Local tooling via Node and Project Setup Improvements
  • Loading branch information
Christian Szandor Knapp authored Sep 14, 2021
2 parents e913d96 + 79e7d70 commit 1a00ba7
Show file tree
Hide file tree
Showing 397 changed files with 8,992 additions and 12 deletions.
16 changes: 16 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
**/lwc/**/*.css
**/lwc/**/*.html
**/lwc/**/*.json
**/lwc/**/*.svg
**/lwc/**/*.xml
**/aura/**/*.auradoc
**/aura/**/*.cmp
**/aura/**/*.css
**/aura/**/*.design
**/aura/**/*.evt
**/aura/**/*.json
**/aura/**/*.svg
**/aura/**/*.tokens
**/aura/**/*.xml
**/aura/**/*.app
.sfdx
9 changes: 8 additions & 1 deletion .forceignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@

package.xml
**profiles
**settings
**settings

# LWC configuration files
**/jsconfig.json
**/.eslintrc.json

# LWC Jest
**/__tests__/**
47 changes: 43 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,46 @@
.sfdx
.vscode
.DS_Store
# Salesforce DX and LWC local dev server cache
.sfdx/
.localdevserver/

# DevOps
mdapi_output_dir
test_results.*
.cci
src
src

# Visual Studio Code
.vscode

# LWC VSCode autocomplete
**/lwc/jsconfig.json

# LWC Jest coverage reports
coverage/

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependency directories
node_modules/

# Eslint cache
.eslintcache

# Husky
.husky

# MacOS system files
.DS_Store

# Windows system files
Thumbs.db
ehthumbs.db
[Dd]esktop.ini
$RECYCLE.BIN/

# Local environment variables
.env
10 changes: 10 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# List files or directories below to ignore them when running prettier
# More information: https://prettier.io/docs/en/ignore.html
#

**/staticresources/**
.localdevserver
.sfdx
.vscode

coverage/
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"trailingComma": "none",
"overrides": [
{
"files": "**/lwc/**/*.html",
"options": { "parser": "lwc" }
},
{
"files": "*.{cmp,page,component}",
"options": { "parser": "html" }
}
]
}
4 changes: 2 additions & 2 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ flows:
0:
task: dx_convert_from
options:
extra: "--sourcepath ./force-app/libs/fflib-apexmocks,./force-app/libs/fflib-common,./force-app/libs/lrengine,./force-app/libs/metadataservice,./force-app/main"
extra: "--sourcepath ./dlrs/libs/fflib-apexmocks,./dlrs/libs/fflib-common,./dlrs/libs/lrengine,./dlrs/libs/metadataservice,./dlrs/main"
3.1:
task: dx_push

Expand All @@ -63,4 +63,4 @@ flows:
0:
task: dx_convert_from
options:
extra: "--sourcepath ./force-app/libs/fflib-apexmocks,./force-app/libs/fflib-common,./force-app/libs/lrengine,./force-app/libs/metadataservice,./force-app/main"
extra: "--sourcepath ./dlrs/libs/fflib-apexmocks,./dlrs/libs/fflib-common,./dlrs/libs/lrengine,./dlrs/libs/metadataservice,./dlrs/main"
8 changes: 8 additions & 0 deletions dlrs/default/aura/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": ["@salesforce/eslint-plugin-aura"],
"extends": ["plugin:@salesforce/eslint-plugin-aura/recommended", "prettier"],
"rules": {
"vars-on-top": "off",
"no-unused-expressions": "off"
}
}
11 changes: 11 additions & 0 deletions dlrs/default/lwc/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": ["@salesforce/eslint-config-lwc/recommended", "prettier"],
"overrides": [
{
"files": ["*.test.js"],
"rules": {
"@lwc/lwc/no-unexpected-wire-adapter-usages": "off"
}
}
]
}
19 changes: 19 additions & 0 deletions dlrs/default/lwc/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"include": [
"**/*",
"../../../.sfdx/typings/lwc/**/*.d.ts"
],
"paths": {
"c/*": [
"*"
]
},
"typeAcquisition": {
"include": [
"jest"
]
}
}
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions dlrs/main/aura/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": ["@salesforce/eslint-plugin-aura"],
"extends": ["plugin:@salesforce/eslint-plugin-aura/recommended", "prettier"],
"rules": {
"vars-on-top": "off",
"no-unused-expressions": "off"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions dlrs/main/lwc/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": ["@salesforce/eslint-config-lwc/recommended", "prettier"],
"overrides": [
{
"files": ["*.test.js"],
"rules": {
"@lwc/lwc/no-unexpected-wire-adapter-usages": "off"
}
}
]
}
19 changes: 19 additions & 0 deletions dlrs/main/lwc/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"experimentalDecorators": true
},
"include": [
"**/*",
"../../../.sfdx/typings/lwc/**/*.d.ts"
],
"paths": {
"c/*": [
"*"
]
},
"typeAcquisition": {
"include": [
"jest"
]
}
}
Loading

0 comments on commit 1a00ba7

Please sign in to comment.