-
Notifications
You must be signed in to change notification settings - Fork 0
BIND_컨벤션
eunoo1995 edited this page Dec 30, 2022
·
1 revision
type | 종류 |
---|---|
feat | 새로운 기능 추가 |
fix | 버그 수정 |
style | 코드 포맷팅, 세미콜론 추가 등 코드 변경이 없는 경우 |
docs | 문서 수정 |
refactor | 코드 리팩토링 |
conf | 패키지 매니저 등 빌드 관련 설정 수정 |
test | 테스트 코드 작성 |
chore | 그외 자잘한 수정 및 설정 |
{
"env": {
"browser": true,
"es2022": true,
"commonjs": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
"plugin:storybook/recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks",
"@typescript-eslint",
"import",
"storybook",
"jsx-a11y",
"prettier"
],
"rules": {
"no-console": "warn",
"no-plusplus": "off",
"no-shadow": "off",
"vars-on-top": "off",
"no-underscore-dangle": "off",
"comma-dangle": "off",
"func-names": "off",
"prefer-template": "off",
"no-nested-ternary": "off",
"max-classes-per-file": "off",
"consistent-return": "off",
"no-restricted-syntax": ["off", "ForOfStatement"],
"prefer-arrow-callback": "error",
"require-await": "error",
"arrow-parens": ["error", "as-needed"],
"no-param-reassign": ["error", { "props": false }],
"no-unused-expressions": [
"error",
{
"allowTernary": true,
"allowShortCircuit": true,
"allowTaggedTemplates": true
}
],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/extensions": ["off"],
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}
],
"react/self-closing-comp": [
"error",
{
"component": true,
"html": true
}
],
"@typescript-eslint/no-var-requires": "off",
"import/no-anonymous-default-export": "off"
}
}
{
"tabWidth": 2,
"singleQuote": true,
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid"
}