From 14f3ca5f749deae6e2a68a5d4bdaa3de539e1c2a Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Wed, 8 Apr 2020 11:18:01 +0200 Subject: [PATCH] fix --- index.js | 4 +++- yarn.lock | 12 ++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index 1a6338d..28be6be 100644 --- a/index.js +++ b/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'] } ] } } diff --git a/yarn.lock b/yarn.lock index a01fe3b..c7f69ee 100644 --- a/yarn.lock +++ b/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"