summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-06-23 13:19:17 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-06-23 13:19:17 +0900
commit2a2020b79786b25668bfcfed19366a26c840e508 (patch)
tree647e9ca77125b4e1b643788c537612580d0f2a0d /packages
parentenhance(client): tweak ui (diff)
downloadsharkey-2a2020b79786b25668bfcfed19366a26c840e508.tar.gz
sharkey-2a2020b79786b25668bfcfed19366a26c840e508.tar.bz2
sharkey-2a2020b79786b25668bfcfed19366a26c840e508.zip
chore(dev): improve eslint config
Diffstat (limited to 'packages')
-rw-r--r--packages/client/.eslintrc.js1
-rw-r--r--packages/shared/.eslintrc.js5
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js
index 10f0e5a9cb..9022143486 100644
--- a/packages/client/.eslintrc.js
+++ b/packages/client/.eslintrc.js
@@ -25,7 +25,6 @@ module.exports = {
// data の禁止理由: 抽象的すぎるため
// e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため
'id-denylist': ['error', 'window', 'data', 'e'],
- 'eqeqeq': ['error', 'always', { 'null': 'ignore' }],
'no-shadow': ['warn'],
'vue/attributes-order': ['error', {
'alphabetical': false,
diff --git a/packages/shared/.eslintrc.js b/packages/shared/.eslintrc.js
index 4d9d6f2c85..dc53218824 100644
--- a/packages/shared/.eslintrc.js
+++ b/packages/shared/.eslintrc.js
@@ -31,6 +31,11 @@ module.exports = {
'beforeColon': false,
'afterColon': true,
}],
+ 'arrow-spacing': ['error', {
+ 'before': true,
+ 'after': true,
+ }],
+ 'padded-blocks': ['error', 'never'],
/* TODO: path aliasを使わないとwarnする
'no-restricted-imports': ['warn', {
'patterns': [