update eslint rules

This commit is contained in:
syuilo
2022-07-02 23:01:13 +09:00
parent 9c6a220810
commit 0de973d293
2 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,8 @@ module.exports = {
},
],
// window の禁止理由: グローバルスコープと衝突し、予期せぬ結果を招くため
// data の禁止理由: 抽象的すぎるため
// e の禁止理由: error や event など、複数のキーワードの頭文字であり分かりにくいため
'id-denylist': ['error', 'window', 'data', 'e'],
'id-denylist': ['error', 'window', 'e'],
'no-shadow': ['warn'],
'vue/attributes-order': ['error', {
'alphabetical': false,