diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-31 21:29:08 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-31 21:29:08 +0900 |
| commit | bd53c28ae1679ecd08389b357c11d2988a01d476 (patch) | |
| tree | e582b56a1cb95536f8cd65a73e464c114026eca3 /packages | |
| parent | add eslint rule (diff) | |
| download | sharkey-bd53c28ae1679ecd08389b357c11d2988a01d476.tar.gz sharkey-bd53c28ae1679ecd08389b357c11d2988a01d476.tar.bz2 sharkey-bd53c28ae1679ecd08389b357c11d2988a01d476.zip | |
fix eslint rule
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/client/.eslintrc.js | 2 | ||||
| -rw-r--r-- | packages/shared/.eslintrc.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js index 222b5b5a74..acbb7c0c6b 100644 --- a/packages/client/.eslintrc.js +++ b/packages/client/.eslintrc.js @@ -18,7 +18,7 @@ module.exports = { // data の禁止理由: 抽象的すぎるため // e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため "id-denylist": ["error", "window", "data", "e"], - 'eqeqeq': ['error', { 'null': 'ignore' }], + 'eqeqeq': ['error', 'always', { 'null': 'ignore' }], "vue/attributes-order": ["error", { "alphabetical": false }], diff --git a/packages/shared/.eslintrc.js b/packages/shared/.eslintrc.js index d52b16395c..7759810463 100644 --- a/packages/shared/.eslintrc.js +++ b/packages/shared/.eslintrc.js @@ -37,7 +37,7 @@ module.exports = { ] }], */ - 'eqeqeq': ['error', { 'null': 'ignore' }], + 'eqeqeq': ['error', 'always', { 'null': 'ignore' }], 'no-multi-spaces': ['error'], 'no-var': ['error'], 'prefer-arrow-callback': ['error'], |