mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 08:03:08 +02:00
Update .eslintrc.js
This commit is contained in:
parent
4f180ad45c
commit
b4dd61a016
1 changed files with 7 additions and 0 deletions
|
@ -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'],
|
||||||
|
|
Loading…
Reference in a new issue