Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Codestyle] prettier 룰을 더 많이 적용하는 방식으로 코드스타일(eslintrc, prettierrc) 수정 #250

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add: eslint config간 충돌 제거
  • Loading branch information
hwasurr committed May 21, 2021
commit 9822ce72decefe802631043ecaaa33158ecaa06d
16 changes: 7 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -20,14 +20,12 @@ module.exports = {
"react",
"react-hooks",
'@typescript-eslint/eslint-plugin',
'jest'
'jest',
],
extends: [
'airbnb',
"plugin:prettier/recommended",
"plugin:react/recommended",
'airbnb-base',
'airbnb',
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
@@ -50,11 +48,11 @@ module.exports = {
'comma-dangle': 2,
'linebreak-style': 'off',
'no-useless-constructor': 0,
'max-len': ["error", {
code: 120, tabWidth: 2, ignoreComments: true, ignoreTrailingComments: true, ignoreStrings: true,
ignoreUrls: true, ignoreTemplateLiterals: true,
ignorePattern: "^import\\s.+\\sfrom\\s.+;$",
}],
// 'max-len': ["error", {
// code: 120, tabWidth: 2, ignoreComments: true, ignoreTrailingComments: true, ignoreStrings: true,
// ignoreUrls: true, ignoreTemplateLiterals: true,
// ignorePattern: "^import\\s.+\\sfrom\\s.+;$",
// }],
'max-params': ["warn", 4],
"no-shadow": 2,
/**