diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-31 21:34:47 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-01-31 21:34:47 +0900 |
| commit | 522877b8ddda2b92983cfb57aca394e5b988e699 (patch) | |
| tree | 8f6339bff1e6fa289defd9fd9fb69e6e082290ef /packages/shared | |
| parent | fix eslint rule (diff) | |
| download | sharkey-522877b8ddda2b92983cfb57aca394e5b988e699.tar.gz sharkey-522877b8ddda2b92983cfb57aca394e5b988e699.tar.bz2 sharkey-522877b8ddda2b92983cfb57aca394e5b988e699.zip | |
update eslint rule
Diffstat (limited to 'packages/shared')
| -rw-r--r-- | packages/shared/.eslintrc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/shared/.eslintrc.js b/packages/shared/.eslintrc.js index 7759810463..2d3356c3a6 100644 --- a/packages/shared/.eslintrc.js +++ b/packages/shared/.eslintrc.js @@ -57,7 +57,7 @@ module.exports = { 'object-curly-spacing': ['error', 'always'], 'space-infix-ops': ['error'], 'space-before-blocks': ['error', 'always'], - '@typescript-eslint/no-unnecessary-condition': ['error'], + '@typescript-eslint/no-unnecessary-condition': ['warn'], '@typescript-eslint/no-var-requires': ['warn'], '@typescript-eslint/no-inferrable-types': ['warn'], '@typescript-eslint/no-empty-function': ['off'], |