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",
{
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],

View File

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