-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
33 lines (33 loc) Β· 1011 Bytes
/
.eslintrc.json
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
{
"plugins": ["react", "@typescript-eslint", "simple-import-sort"],
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"react/react-in-jsx-scope": "off", // import React from 'react' μν΄λ λκ² λ§λ€μ΄μ€.
"simple-import-sort/imports": "error", // import ꡬ문 μμ μλ§μ΄λ©΄ μλ¬ λ.
"simple-import-sort/exports": "error", // export ꡬ문λ μμ μλ§μ΄λ©΄ μλ¬ λ.
"prettier/prettier": [
"error",
{
"endOfLine": "auto",
"semi": true
}
]
},
"ignorePatterns": ["**/*.cjs", "**/*.mjs", "commitlint.config.js"]
}