mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
Update .eslintrc.js
This commit is contained in:
parent
7c692283ad
commit
7d3721dded
@ -73,6 +73,7 @@ module.exports = {
|
|||||||
{ 'blankLine': 'always', 'prev': '*', 'next': 'function' },
|
{ 'blankLine': 'always', 'prev': '*', 'next': 'function' },
|
||||||
],
|
],
|
||||||
"lines-between-class-members": "off",
|
"lines-between-class-members": "off",
|
||||||
|
/* typescript-eslint では enforce に対応してないっぽい
|
||||||
'@typescript-eslint/lines-between-class-members': ['error', {
|
'@typescript-eslint/lines-between-class-members': ['error', {
|
||||||
enforce: [{
|
enforce: [{
|
||||||
blankLine: 'always',
|
blankLine: 'always',
|
||||||
@ -80,6 +81,7 @@ module.exports = {
|
|||||||
next: '*',
|
next: '*',
|
||||||
}]
|
}]
|
||||||
}],
|
}],
|
||||||
|
*/
|
||||||
'@typescript-eslint/func-call-spacing': ['error', 'never'],
|
'@typescript-eslint/func-call-spacing': ['error', 'never'],
|
||||||
'@typescript-eslint/no-explicit-any': ['warn'],
|
'@typescript-eslint/no-explicit-any': ['warn'],
|
||||||
'@typescript-eslint/no-unused-vars': ['warn'],
|
'@typescript-eslint/no-unused-vars': ['warn'],
|
||||||
|
Loading…
Reference in New Issue
Block a user