File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff line change 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" ,
4848 ],
4949 "husky" : {
5050 "hooks" : {
51- "pre-commit" : " lint-staged"
51+ "pre-commit" : " lint-staged && yarn format "
5252 }
5353 },
5454 "lint-staged" : {
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments