mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
build: remove linter rules already in base config (#1599)
This commit is contained in:
committed by
Mayukha Vadari
parent
eb56eb181a
commit
ac66c2174a
31
.eslintrc.js
31
.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],
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"./test/**/*.ts",
|
||||
"./snippets/src/**/*.ts",
|
||||
".prettierrc.js",
|
||||
".eslintrc.js",
|
||||
"jest.config.js"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user