1
0
Fork 1
mirror of https://example.com synced 2024-11-24 01:16:40 +09:00

add eslint rule

This commit is contained in:
syuilo 2022-01-31 21:24:11 +09:00
parent 8560e107bc
commit c260343125
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ module.exports = {
// data の禁止理由: 抽象的すぎるため // data の禁止理由: 抽象的すぎるため
// e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため // e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため
"id-denylist": ["error", "window", "data", "e"], "id-denylist": ["error", "window", "data", "e"],
'eqeqeq': ['error', { 'null': 'ignore' }],
"vue/attributes-order": ["error", { "vue/attributes-order": ["error", {
"alphabetical": false "alphabetical": false
}], }],

View file

@ -37,6 +37,7 @@ module.exports = {
] ]
}], }],
*/ */
'eqeqeq': ['error', { 'null': 'ignore' }],
'no-multi-spaces': ['error'], 'no-multi-spaces': ['error'],
'no-var': ['error'], 'no-var': ['error'],
'prefer-arrow-callback': ['error'], 'prefer-arrow-callback': ['error'],