2023-02-03 00:16:38 -06:00
|
|
|
{
|
|
|
|
|
"env": {
|
|
|
|
|
"browser": true,
|
|
|
|
|
"es2021": true
|
|
|
|
|
},
|
2023-02-21 13:23:07 -06:00
|
|
|
"plugins": ["@typescript-eslint", "mocha", "import"],
|
2023-02-03 00:16:38 -06:00
|
|
|
"extends": [
|
|
|
|
|
"standard-with-typescript",
|
|
|
|
|
"eslint:recommended",
|
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
|
"plugin:mocha/recommended",
|
|
|
|
|
"prettier"
|
|
|
|
|
],
|
|
|
|
|
"overrides": [
|
|
|
|
|
{
|
2023-02-21 13:23:07 -06:00
|
|
|
"files": [
|
|
|
|
|
"tests/**/*.spec.ts",
|
|
|
|
|
"integrationTests/**/*.spec.ts",
|
|
|
|
|
"integrationTests/utils/**"
|
|
|
|
|
],
|
2023-02-03 00:16:38 -06:00
|
|
|
"rules": {
|
|
|
|
|
"@typescript-eslint/no-unused-expressions": "off",
|
2023-02-04 15:09:13 -06:00
|
|
|
"@typescript-eslint/consistent-type-assertions": "off",
|
2023-02-21 13:23:07 -06:00
|
|
|
"no-new": "off",
|
|
|
|
|
"import/extensions": "off"
|
2023-02-03 00:16:38 -06:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"parserOptions": {
|
|
|
|
|
"project": "./tsconfig.eslint.json",
|
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
|
"sourceType": "module"
|
|
|
|
|
},
|
|
|
|
|
"rules": {
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
|
|
|
|
|
"@typescript-eslint/no-useless-constructor": "off",
|
2023-02-21 13:23:07 -06:00
|
|
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
|
|
|
"import/extensions": ["error", "always", { "ignorePackages": true }]
|
2023-02-03 00:16:38 -06:00
|
|
|
}
|
|
|
|
|
}
|