diff options
author | dartcafe <github@dartcafe.de> | 2021-10-15 01:09:04 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-10-15 01:09:04 +0300 |
commit | eb64a8c6c2b1ee373c81d3751e73ffbfce890496 (patch) | |
tree | 22e3adcacd8b2b62dbcb2f2ea9b93425e4166cb6 /.eslintrc.js | |
parent | 4b84b06e109182afae3980e3cb4961f0c2238cc2 (diff) |
vue/no-unused-properties
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index de081f70..95e9885c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,7 +11,6 @@ module.exports = { 'arrow-parens': 'error', 'arrow-body-style': 'error', 'brace-style': 'error', - 'prefer-template': 'error', 'newline-per-chained-call': ['error', { ignoreChainWithDepth: 4 }], 'no-array-constructor': 'error', 'no-continue': 'error', @@ -20,5 +19,11 @@ module.exports = { 'no-negated-condition': 'error', 'no-plusplus': ['error', { allowForLoopAfterthoughts: true }], 'object-curly-spacing': ['error', 'always'], + 'prefer-template': 'error', + 'vue/no-unused-properties': ['error', { + groups: ['props', 'data', 'computed', 'methods'], + deepData: true, + ignorePublicMembers: true, + }], }, } |