test: update tests, add eslint rules
This commit is contained in:
@@ -37,6 +37,25 @@ export default defineConfig(
|
||||
caughtErrorsIgnorePattern: "^_",
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/parameter-properties": [
|
||||
"error",
|
||||
{
|
||||
prefer: "class-property",
|
||||
allow: [],
|
||||
},
|
||||
],
|
||||
"@typescript-eslint/naming-convention": [
|
||||
"error",
|
||||
{
|
||||
selector: "classProperty",
|
||||
modifiers: ["private"],
|
||||
format: null,
|
||||
custom: {
|
||||
regex: "^.*$",
|
||||
match: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user