binxly_Atomizer/eslint.config.mjs
2024-12-04 20:12:26 -05:00

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"
}
}
];