-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.mjs
43 lines (40 loc) · 974 Bytes
/
eslint.config.mjs
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
32
33
34
35
36
37
38
39
40
41
42
43
// @ts-check
import common from "@luludev/eslint-config/common";
import browser from "@luludev/eslint-config/browser";
import node from "@luludev/eslint-config/node";
import typescript from "@luludev/eslint-config/typescript";
import react from "@luludev/eslint-config/react";
import jsxa11y from "@luludev/eslint-config/jsx-a11y";
import next from "@luludev/eslint-config/next";
import edge from "@luludev/eslint-config/edge";
import prettier from "@luludev/eslint-config/prettier";
/**
* @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray}
*/
const config = [
{
ignores: ["**/dist/*", "components/ui/**/*"],
},
...common,
...browser,
...node,
...typescript,
...react,
...jsxa11y,
...next,
...edge,
...prettier,
{
settings: {
react: {
version: "detect",
},
},
languageOptions: {
parserOptions: {
project: "./tsconfig.json",
},
},
},
];
export default config;