-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
47 lines (45 loc) · 1002 Bytes
/
eslint.config.mjs
File metadata and controls
47 lines (45 loc) · 1002 Bytes
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
44
45
46
47
import tseslint from "typescript-eslint";
import configPrettier from "eslint-config-prettier";
import eslint from "@eslint/js";
import { defineConfig } from "eslint/config";
const eslintConfig = defineConfig([
{
name: "repo/ignores",
ignores: [
".cache",
".idea",
".next",
".turbo",
".vscode",
".yalc",
"!.*.js",
"**/__tests__/**",
"**/.turbo/*",
"**/build/*",
"**/coverage/*",
"**/dist/*",
"**/integration/templates/**/*",
"**/node_modules/**",
"*.snap",
"commitlint.config.ts",
"packages/*/dist/**",
"packages/*/examples",
"playground/*",
"pnpm-lock.json",
"eslint.config.mjs",
"typedoc.config.mjs",
"vitest.workspace.mjs",
],
},
eslint.configs.recommended,
tseslint.configs.recommended,
configPrettier,
{
languageOptions: {
parserOptions: {
projectService: true,
},
},
},
]);
export default eslintConfig;