Update .eslintrc.js

This commit is contained in:
syuilo 2023-10-30 17:31:49 +09:00
parent 4f180ad45c
commit b4dd61a016
1 changed files with 7 additions and 0 deletions

View File

@ -72,6 +72,13 @@ module.exports = {
{ 'blankLine': 'always', 'prev': 'function', 'next': '*' }, { 'blankLine': 'always', 'prev': 'function', 'next': '*' },
{ 'blankLine': 'always', 'prev': '*', 'next': 'function' }, { 'blankLine': 'always', 'prev': '*', 'next': 'function' },
], ],
'lines-between-class-members': ['error', {
enforce: [{
blankLine: 'always',
prev: 'method',
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'],