-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (37 loc) · 1.21 KB
/
.eslintrc
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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:react/recommended",
// Airbnb style guide 적용
"airbnb-base",
// TypeScript ESLint recommanded style 적용
"plugin:@typescript-eslint/eslint-recommended"
],
"ignorePatterns": ["dist/", "build/"],
"settings": {
"import/resolver": {
"babel-module": {},
"alias": {
"map": [["@", "./"]],
"extensions": [".ts", ".tsx", ".js", ".jsx", ".scss"]
}
}
},
"rules": {
"max-len": ["error", { "code": 160 }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"import/no-extraneous-dependencies": ["error", { "bundledDependencies": false }],
"import/extensions": ["error", "ignorePackages", { "js": "never", "jsx": "never", "ts": "never", "tsx": "never", "json": "never" }],
"import/prefer-default-export": ["off"],
"no-restricted-syntax": ["off"],
"no-param-reassign": ["off"],
"object-curly-newline": ["off"],
"lines-between-class-members": ["off"],
"implicit-arrow-linebreak": ["off"],
"arrow-body-style": ["off"],
"react/prop-types": ["off"],
"react/react-in-jsx-scope": ["off"]
}
}