Skip to content

Commit a3daddf

Browse files
authored
chore: upgrade @lwc/eslint-plugin-lwc (#22)
1 parent 4167969 commit a3daddf

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test": "mocha"
1717
},
1818
"dependencies": {
19-
"@lwc/eslint-plugin-lwc": "^0.8.0",
19+
"@lwc/eslint-plugin-lwc": "^0.9.0",
2020
"babel-eslint": "^10.0.3",
2121
"eslint-plugin-import": "^2.20.1",
2222
"eslint-plugin-jest": "^23.6.0",

recommended.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ module.exports = {
102102
'no-useless-rename': 'error',
103103

104104
// LWC specific rules
105+
'@lwc/lwc/no-api-reassignments': 'error',
105106
'@lwc/lwc/no-async-operation': 'error',
106107
'@lwc/lwc/no-document-query': 'error',
107108
'@lwc/lwc/no-inner-html': 'error',

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@
9797
lodash "^4.17.10"
9898
to-fast-properties "^2.0.0"
9999

100-
"@lwc/eslint-plugin-lwc@^0.8.0":
101-
version "0.8.0"
102-
resolved "https://registry.yarnpkg.com/@lwc/eslint-plugin-lwc/-/eslint-plugin-lwc-0.8.0.tgz#40ed5b9809434f3bd901309359273d19c6c3e888"
103-
integrity sha512-HV5gEcB9PuusAGgMtPWFEzal8cw3LmpXgVUOIpHQ1a/yoNyn9Jofo8eur51yjgTSjHJGH0iqmjSLxmcvc1IAYA==
100+
"@lwc/eslint-plugin-lwc@^0.9.0":
101+
version "0.9.0"
102+
resolved "https://registry.yarnpkg.com/@lwc/eslint-plugin-lwc/-/eslint-plugin-lwc-0.9.0.tgz#f6765536a521f2da0e3d6a47cb6b78f2cc319d9e"
103+
integrity sha512-JKcyZICV2V/IhWhNqHUXXIk5eD8ZYCkGmxfbt/FPaYS2e363yLi7zlhzQlopxduq2LbcQjQKKrJRBhYcjTC++A==
104104

105105
"@samverschueren/stream-to-observable@^0.3.0":
106106
version "0.3.0"

0 commit comments

Comments
 (0)