|
1 | 1 | {
|
2 | 2 | "extends": [
|
3 |
| - "eslint:recommended", |
4 |
| - "plugin:@typescript-eslint/eslint-recommended", |
5 |
| - "plugin:prettier/recommended" |
| 3 | + "next/core-web-vitals", |
| 4 | + "plugin:@typescript-eslint/recommended", |
| 5 | + "prettier" |
6 | 6 | ],
|
7 |
| - "parser": "@typescript-eslint/parser", |
8 | 7 | "parserOptions": {
|
| 8 | + "ecmaVersion": "latest", |
| 9 | + "sourceType": "module", |
9 | 10 | "project": ["./tsconfig.json", "./client/tsconfig.json"]
|
10 | 11 | },
|
11 |
| - "plugins": ["@typescript-eslint"], |
| 12 | + "plugins": ["@typescript-eslint", "prettier"], |
12 | 13 | "rules": {
|
13 |
| - "eqeqeq": ["warn", "always", { "null": "ignore" }], |
14 |
| - "no-useless-return": "warn", |
15 |
| - "no-var": "warn", |
16 |
| - "no-console": "warn", |
17 |
| - "no-unused-vars": "off", |
18 |
| - "max-len": ["warn", { "comments": 80 }], |
19 |
| - "no-param-reassign": 0, |
20 |
| - "require-atomic-updates": 0, |
21 |
| - "@typescript-eslint/interface-name-prefix": "off", |
22 |
| - "@typescript-eslint/no-unused-vars": "off", // "warn" for production |
23 |
| - "@typescript-eslint/no-explicit-any": "off", // "warn" for production |
24 |
| - "@typescript-eslint/no-var-requires": "off", |
25 |
| - "@typescript-eslint/camelcase": "off", |
26 |
| - "@typescript-eslint/no-object-literal-type-assertion": "off", |
27 |
| - "@typescript-eslint/no-parameter-properties": "off", |
28 |
| - "@typescript-eslint/explicit-function-return-type": "off" |
| 14 | + "@typescript-eslint/no-explicit-any": ["off"] |
29 | 15 | },
|
30 | 16 | "env": {
|
31 | 17 | "es6": true,
|
32 | 18 | "browser": true,
|
33 |
| - "node": true, |
34 |
| - "mocha": true |
35 |
| - }, |
36 |
| - "globals": { |
37 |
| - "assert": true |
| 19 | + "node": true |
38 | 20 | },
|
39 | 21 | "settings": {
|
40 | 22 | "react": {
|
|
0 commit comments