This commit is contained in:
Timo Hocker 2020-04-08 11:18:01 +02:00
parent 15ebcaab30
commit 14f3ca5f74
2 changed files with 9 additions and 7 deletions

View File

@ -29,7 +29,9 @@ module.exports = {
rules: { rules: {
'@typescript-eslint/camelcase': 'off', '@typescript-eslint/camelcase': 'off',
'@typescript-eslint/naming-convention': ['error', '@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'] }
] ]
} }
} }

View File

@ -24,17 +24,17 @@
js-tokens "^4.0.0" js-tokens "^4.0.0"
"@scode/eslint-config-es6@^1.0.1": "@scode/eslint-config-es6@^1.0.1":
version "1.0.8" version "1.0.9"
resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.8.tgz#c8883c837e355c4a786db29558061deb7d47637d" resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.9.tgz#bf81af113dfcaccceb6e59201c53db783e5ed198"
integrity sha512-SVIX6auUpEB8I0Y/o108s0wljQMt/sak61YU/LtR1QG5SVVQNNrAnlmD+EabVnT9BduZmRYMulv0e8k8+0Hfdg== integrity sha512-AiI+HRI4ZnAqvdQAr2FtKfK1lYWqhvKhh0VWZlesFGDVcv7nHNxPBAWXMWopjj+HFsFFDfA1A0lI/RjHX4yavA==
dependencies: dependencies:
"@scode/eslint-config" "^2.0.1" "@scode/eslint-config" "^2.0.1"
eslint-plugin-import "^2.20.1" eslint-plugin-import "^2.20.1"
"@scode/eslint-config@^2.0.1": "@scode/eslint-config@^2.0.1":
version "2.0.4" version "2.0.5"
resolved "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-2.0.4.tgz#d849eed17512e1f36ba829c715aca60b3377c1a0" resolved "https://npm.scode.ovh/@scode%2feslint-config/-/eslint-config-2.0.5.tgz#dc1b5dfe33c5d06a874c745cfd94186f78e1d81f"
integrity sha512-3p1zBeNCrdEtnZoJYrDG25pOrJo/nasP6oGlfGjk6o2xXSizQJf5sICl58ndZp0Ap17CHNiljWBAILswhSVX7A== integrity sha512-Aumg3o+k6lldF/J1Z88YA4fsVYNAcJK1oLQWYZoboLnsuzp9rnyguNRkTVE8ag0MpbSq2e+LuiHocMCH0ZrWJA==
dependencies: dependencies:
eslint-plugin-jsdoc "22" eslint-plugin-jsdoc "22"
eslint-plugin-node "^11.0.0" eslint-plugin-node "^11.0.0"