Update .eslintrc.js

This commit is contained in:
syuilo 2023-10-31 20:14:36 +09:00
parent 7c692283ad
commit 7d3721dded

View file

@ -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'],