You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
719 B
34 lines
719 B
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default [
|
|
{
|
|
"languageOptions": {
|
|
"globals": {
|
|
...globals.browser,
|
|
...globals.node,
|
|
},
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ argsIgnorePattern: "^_" },
|
|
],
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
|
"no-process-env": "error",
|
|
"semi": "error",
|
|
},
|
|
},
|
|
{
|
|
"ignores": [
|
|
"dist",
|
|
"data/minio",
|
|
"docs",
|
|
"node_modules",
|
|
"src/app/services/lib/edit-with-vi.ts",
|
|
],
|
|
},
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
];
|
|
|