mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-05-13 13:58:57 +00:00
65 lines
1.4 KiB
JSON
65 lines
1.4 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"no-prototype-builtins": "off",
|
|
"@typescript-eslint/ban-types": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"check-version-tracker.js",
|
|
"rollup-common.js",
|
|
"rollup.config.js",
|
|
"web-test-runner.config.js"
|
|
],
|
|
"env": {
|
|
"node": true
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"packages/lit-html/src/test/version-stability_test.js"
|
|
],
|
|
"env": {
|
|
"mocha": true
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*_test.ts",
|
|
"packages/labs/ssr/custom_typings/node.d.ts",
|
|
"packages/labs/ssr/src/test/integration/tests/**",
|
|
"packages/labs/ssr/src/lib/util/parse5-utils.ts"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-explicit-any": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|