mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
add eslint rule
This commit is contained in:
parent
8560e107bc
commit
c260343125
@ -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
|
||||
}],
|
||||
|
@ -37,6 +37,7 @@ module.exports = {
|
||||
]
|
||||
}],
|
||||
*/
|
||||
'eqeqeq': ['error', { 'null': 'ignore' }],
|
||||
'no-multi-spaces': ['error'],
|
||||
'no-var': ['error'],
|
||||
'prefer-arrow-callback': ['error'],
|
||||
|
Loading…
Reference in New Issue
Block a user