diff --git a/.eslintrc.js b/.eslintrc.js index 4ac55ded..f0abaa73 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -31,36 +31,7 @@ module.exports = { "error", { selector: "interface", - format: ["PascalCase"], - }, - { - selector: "interface", - format: ["snake_case"], - }, - ], - // Ignore type imports when counting dependencies. - "import/max-dependencies": [ - "error", - { - max: 10, - ignoreTypeImports: true, - }, - ], - // Removes comments and blank lines from the max-line rules - "max-lines-per-function": [ - "warn", - { - max: 50, - skipBlankLines: true, - skipComments: true, - }, - ], - "max-lines": [ - "warn", - { - max: 250, - skipBlankLines: true, - skipComments: true, + format: ["PascalCase", 'snake_case'], }, ], "max-statements": ["warn", 25], diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index dc042cd6..647e7f90 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -6,6 +6,7 @@ "./test/**/*.ts", "./snippets/src/**/*.ts", ".prettierrc.js", + ".eslintrc.js", "jest.config.js" ] }