-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
28 lines (27 loc) · 983 Bytes
/
eslint.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import javascript from "@eslint/js";
import prettier from "eslint-config-prettier";
import astro from "eslint-plugin-astro";
import typescript from "typescript-eslint";
export default typescript.config(
javascript.configs.recommended,
prettier,
...typescript.configs.recommended,
...typescript.configs.stylistic,
...astro.configs.recommended,
{
ignores: ["external/", "node_modules/", ".astro/", ".husky/"],
},
{
rules: {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/triple-slash-reference": "off",
"import/no-anonymous-default-export": "off",
"no-console": "warn",
"no-control-regex": "off",
},
},
);