Skip to content

Commit 74d2fdb

Browse files
authored
Merge pull request #16 from salesforce/apapko/upgarde-eslint-plugin-lwc-0.8.0
chore: upgarde eslint-plugin-lwc to 0.8.0
2 parents f204b20 + 5a2a79e commit 74d2fdb

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

base.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ module.exports = {
1515
// LWC lifecycle hooks validation
1616
'@lwc/lwc/no-deprecated': 'error',
1717

18+
// LWC public property syntax validation
19+
'@lwc/lwc/no-leading-uppercase-api-name': 'warn',
20+
1821
// LWC decorator validation
1922
'@lwc/lwc/valid-api': 'error',
2023
'@lwc/lwc/valid-track': 'error',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test": "mocha"
1717
},
1818
"dependencies": {
19-
"@lwc/eslint-plugin-lwc": "^0.6.0",
19+
"@lwc/eslint-plugin-lwc": "^0.8.0",
2020
"babel-eslint": "^10.0.1",
2121
"eslint-plugin-import": "^2.14.0",
2222
"eslint-plugin-jest": "^22.0.0",
@@ -48,7 +48,7 @@
4848
],
4949
"husky": {
5050
"hooks": {
51-
"pre-commit": "lint-staged"
51+
"pre-commit": "lint-staged && yarn format"
5252
}
5353
},
5454
"lint-staged": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@
104104
log-update "^2.3.0"
105105
strip-ansi "^3.0.1"
106106

107-
"@lwc/eslint-plugin-lwc@^0.6.0":
108-
version "0.6.0"
109-
resolved "https://registry.yarnpkg.com/@lwc/eslint-plugin-lwc/-/eslint-plugin-lwc-0.6.0.tgz#aa283547bb78a3843db49eb595a03ff91ef083f1"
110-
integrity sha512-2iAzQTSUNYwmojh0Ey/ma4uRVpbU2t85Wf9+nkVqXkEyQBR1IFDB9PdPREbPZ8FrjQTlDek0TxSyzwz4wsdiSQ==
107+
"@lwc/eslint-plugin-lwc@^0.8.0":
108+
version "0.8.0"
109+
resolved "https://registry.yarnpkg.com/@lwc/eslint-plugin-lwc/-/eslint-plugin-lwc-0.8.0.tgz#40ed5b9809434f3bd901309359273d19c6c3e888"
110+
integrity sha512-HV5gEcB9PuusAGgMtPWFEzal8cw3LmpXgVUOIpHQ1a/yoNyn9Jofo8eur51yjgTSjHJGH0iqmjSLxmcvc1IAYA==
111111

112112
"@samverschueren/stream-to-observable@^0.3.0":
113113
version "0.3.0"

0 commit comments

Comments
 (0)