From 5f32178a270eac743720dcaaa477aac1e638dfbf Mon Sep 17 00:00:00 2001 From: Timo Hocker <35867059+TimoHocker@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:48:03 +0200 Subject: [PATCH] remove naming convention --- index.js | 25 +------------------------ package.json | 2 +- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/index.js b/index.js index 19279ef..e8fcb57 100644 --- a/index.js +++ b/index.js @@ -35,30 +35,7 @@ module.exports = { rules: { '@typescript-eslint/camelcase': 'off', - '@typescript-eslint/naming-convention': ['error', - { selector: 'default', format: ['snake_case'] }, - { selector: 'typeLike', format: ['PascalCase'] }, - { - selector: 'property', - modifiers: ['private'], - format: ['snake_case'], - leadingUnderscore: 'require' - }, - { - selector: 'variable', - modifiers: ['destructured'], - format: null - }, - { - selector: 'variable', - modifiers: ['const', 'global'], - format: ['UPPER_CASE', 'snake_case'] - }, - { - selector: 'objectLiteralProperty', - format: ['camelCase', 'snake_case'] - } - ], + '@typescript-eslint/naming-convention': 'off', '@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/type-annotation-spacing': 'error', '@typescript-eslint/sort-type-union-intersection-members': 'error', diff --git a/package.json b/package.json index b638b4e..bcc67ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/eslint-config-ts", - "version": "1.2.1", + "version": "1.2.2", "description": "scode eslint typescript configuration", "main": "index.js", "scripts": {