Skip to content

Commit

Permalink
build: bump template dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Sep 13, 2023
1 parent 6e2f8b7 commit 5c2a297
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 31 deletions.
16 changes: 0 additions & 16 deletions src/templates/project/.eslintignore

This file was deleted.

4 changes: 4 additions & 0 deletions src/templates/project/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"trailingComma": "none",
"plugins": [
"prettier-plugin-apex",
"@prettier/plugin-xml"
],
"overrides": [
{
"files": "**/lwc/**/*.html",
Expand Down
30 changes: 15 additions & 15 deletions src/templates/project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@
"version": "1.0.0",
"description": "Salesforce App",
"scripts": {
"lint": "eslint **/{aura,lwc}/**",
"lint": "eslint **/{aura,lwc}/**/*.js",
"test": "npm run test:unit",
"test:unit": "sfdx-lwc-jest",
"test:unit:watch": "sfdx-lwc-jest --watch",
"test:unit:debug": "sfdx-lwc-jest --debug",
"test:unit:coverage": "sfdx-lwc-jest --coverage",
"prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"prettier:verify": "prettier --check \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"postinstall": "husky install",
"precommit": "lint-staged"
},
"devDependencies": {
"@lwc/eslint-plugin-lwc": "^1.1.2",
"@prettier/plugin-xml": "^2.0.1",
"@salesforce/eslint-config-lwc": "^3.2.3",
"@salesforce/eslint-plugin-aura": "^2.0.0",
"@lwc/eslint-plugin-lwc": "^1.6.3",
"@prettier/plugin-xml": "^3.2.1",
"@salesforce/eslint-config-lwc": "^3.5.2",
"@salesforce/eslint-plugin-aura": "^2.1.0",
"@salesforce/eslint-plugin-lightning": "^1.0.0",
"@salesforce/sfdx-lwc-jest": "^1.1.0",
"eslint": "^8.11.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.2",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"prettier": "^2.6.0",
"prettier-plugin-apex": "^1.10.0"
"@salesforce/sfdx-lwc-jest": "^1.4.1",
"eslint": "^8.49.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.3",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"prettier-plugin-apex": "^2.0.1"
},
"lint-staged": {
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
"prettier --write"
],
"**/{aura,lwc}/**": [
"**/{aura,lwc}/**/*.js": [
"eslint"
]
}
Expand Down

0 comments on commit 5c2a297

Please sign in to comment.