mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-05 12:43:09 +02:00
Update .eslintrc.js
This commit is contained in:
parent
7c692283ad
commit
7d3721dded
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue