add eslint rule

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

View file

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

View file

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