svelte.sk-auth/.eslintrc.cjs

22 lines
575 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
parser: "@typescript-eslint/parser",
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["@typescript-eslint"],
ignorePatterns: ["*.cjs"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2019,
},
rules: {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["off", { argsIgnorePattern: "^_" }],
},
env: {
browser: true,
es2017: true,
node: true,
},
};