From 53bb7c5046f235691468e90550a92ba40d47dabe Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Wed, 8 Apr 2020 20:00:15 +0200 Subject: [PATCH] fix --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 956c999..c0ea151 100644 --- a/index.js +++ b/index.js @@ -31,6 +31,8 @@ module.exports = { '@typescript-eslint/naming-convention': ['error', { selector: 'default', format: ['snake_case'] }, { selector: 'memberLike', modifiers: ['private'], format: ['snake_case'], leadingUnderscore: 'require' }, + { selector: 'method', format: ['snake_case'], leadingUnderscore: 'forbid' }, + { selector: 'function', format: ['snake_case'], leadingUnderscore: 'forbid' }, { selector: 'typeLike', format: ['PascalCase'] } ], 'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }]