-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.cjs
31 lines (31 loc) · 866 Bytes
/
.eslintrc.cjs
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
29
30
31
module.exports = {
extends: [
"standard-with-typescript",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/strict",
"prettier",
"plugin:astro/recommended",
"plugin:astro/jsx-a11y-strict",
"plugin:tailwindcss/recommended",
"plugin:regexp/recommended",
"plugin:mocha/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
},
plugins: ["@typescript-eslint", "prettier", "sonarjs", "regexp", "mocha"],
overrides: [
{
files: ["*.astro"],
parser: "astro-eslint-parser",
parserOptions: {
extraFileExtensions: [".astro"],
},
},
],
};