build: remove linter rules already in base config (#1599)

This commit is contained in:
Nathan Nichols
2021-09-09 10:09:48 -07:00
committed by Mayukha Vadari
parent eb56eb181a
commit ac66c2174a
2 changed files with 2 additions and 30 deletions

View File

@@ -31,36 +31,7 @@ module.exports = {
"error", "error",
{ {
selector: "interface", selector: "interface",
format: ["PascalCase"], format: ["PascalCase", 'snake_case'],
},
{
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,
}, },
], ],
"max-statements": ["warn", 25], "max-statements": ["warn", 25],

View File

@@ -6,6 +6,7 @@
"./test/**/*.ts", "./test/**/*.ts",
"./snippets/src/**/*.ts", "./snippets/src/**/*.ts",
".prettierrc.js", ".prettierrc.js",
".eslintrc.js",
"jest.config.js" "jest.config.js"
] ]
} }