fix
This commit is contained in:
parent
15ebcaab30
commit
14f3ca5f74
4
index.js
4
index.js
@ -29,7 +29,9 @@ module.exports = {
|
||||
rules: {
|
||||
'@typescript-eslint/camelcase': 'off',
|
||||
'@typescript-eslint/naming-convention': ['error',
|
||||
{ selector: 'default', format: ['snake_case'] }
|
||||
{ selector: 'default', format: ['snake_case'] },
|
||||
{ selector: 'memberLike', modifiers: ['private'], format: ['snake_case'], leadingUnderscore: 'require' },
|
||||
{ selector: 'typeLike', format: ['PascalCase'] }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
12
yarn.lock
12
yarn.lock
@ -24,17 +24,17 @@
|
||||
js-tokens "^4.0.0"
|
||||
|
||||
"@scode/eslint-config-es6@^1.0.1":
|
||||
version "1.0.8"
|
||||
resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.8.tgz#c8883c837e355c4a786db29558061deb7d47637d"
|
||||
integrity sha512-SVIX6auUpEB8I0Y/o108s0wljQMt/sak61YU/LtR1QG5SVVQNNrAnlmD+EabVnT9BduZmRYMulv0e8k8+0Hfdg==
|
||||
version "1.0.9"
|
||||
resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.9.tgz#bf81af113dfcaccceb6e59201c53db783e5ed198"
|
||||
integrity sha512-AiI+HRI4ZnAqvdQAr2FtKfK1lYWqhvKhh0VWZlesFGDVcv7nHNxPBAWXMWopjj+HFsFFDfA1A0lI/RjHX4yavA==
|
||||
dependencies:
|
||||
"@scode/eslint-config" "^2.0.1"
|
||||
eslint-plugin-import "^2.20.1"
|
||||
|
||||
"@scode/eslint-config@^2.0.1":
|
||||
version "2.0.4"
|
||||
resolved "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-2.0.4.tgz#d849eed17512e1f36ba829c715aca60b3377c1a0"
|
||||
integrity sha512-3p1zBeNCrdEtnZoJYrDG25pOrJo/nasP6oGlfGjk6o2xXSizQJf5sICl58ndZp0Ap17CHNiljWBAILswhSVX7A==
|
||||
version "2.0.5"
|
||||
resolved "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-2.0.5.tgz#dc1b5dfe33c5d06a874c745cfd94186f78e1d81f"
|
||||
integrity sha512-Aumg3o+k6lldF/J1Z88YA4fsVYNAcJK1oLQWYZoboLnsuzp9rnyguNRkTVE8ag0MpbSq2e+LuiHocMCH0ZrWJA==
|
||||
dependencies:
|
||||
eslint-plugin-jsdoc "22"
|
||||
eslint-plugin-node "^11.0.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user