12345678910111213141516171819202122232425262728 |
- /**
- * @type {import("eslint").Linter.Config}
- */
- const config = {
- root: true,
- env: {
- browser: true,
- node: true,
- },
- parser: "@typescript-eslint/parser",
- extends: [
- "eslint:recommended",
- "plugin:@typescript-eslint/eslint-recommended",
- "plugin:@typescript-eslint/recommended",
- "plugin:prettier/recommended",
- ],
- plugins: ["@typescript-eslint"],
- parserOptions: {
- ecmaVersion: 2020,
- },
- rules: {
- "no-console": "off",
- "no-debugger": "off",
- "@typescript-eslint/no-explicit-any": "off",
- },
- };
- module.exports = config;
|