mirror of
https://github.com/binxly/Atomizer.git
synced 2026-07-22 11:30:28 +00:00
27 lines
No EOL
717 B
JavaScript
27 lines
No EOL
717 B
JavaScript
import globals from "globals";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default [
|
|
{
|
|
files: ["**/*.{js,mjs,cjs,ts}"],
|
|
ignores: ["node_modules/**", "main.js"],
|
|
languageOptions: {
|
|
globals: globals.browser,
|
|
parser: tseslint.parser,
|
|
parserOptions: {
|
|
project: "./tsconfig.json"
|
|
}
|
|
},
|
|
plugins: {
|
|
"@typescript-eslint": tseslint.plugin
|
|
},
|
|
rules: {
|
|
...tseslint.configs.recommended.rules,
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"no-prototype-builtins": "off",
|
|
"@typescript-eslint/no-empty-function": "off"
|
|
}
|
|
}
|
|
]; |