- 용재
- 지희
- recommended 사용 위주
- 종운
- 특별한 preset 없음
- 불필요한 부분 warning으로 두고
- 사용해보면서 하나씩 rule에 추가
- 나현
- recommended 위주
- 연경
- import - 본문 내용 띄어주는 규칙
{ "arrowParens": "always", "bracketSameLine": false, "bracketSpacing": true, "semi": true, "experimentalTernaries": false, "singleQuote": true, "jsxSingleQuote": true, "quoteProps": "as-needed", "trailingComma": "all", "singleAttributePerLine": true, "htmlWhitespaceSensitivity": "css", "vueIndentScriptAndStyle": false, "proseWrap": "preserve", "insertPragma": false, "printWidth": 80, "requirePragma": false, "tabWidth": 2, "useTabs": false, "embeddedLanguageFormatting": "auto" }
extends: [ // By extending from a plugin config, we can get recommended rules without having to add them manually. 'eslint:recommended', 'plugin:react/recommended', "plugin:@typescript-eslint/recommended", // ts 기본 추천 규칙 'plugin:import/recommended', 'plugin:jsx-a11y/recommended', "plugin:storybook/recommended", // storybook 규칙 // This disables the formatting rules in ESLint that Prettier is going to be responsible for handling. // Make sure it's always the last config, so it gets the chance to override other configs. 'eslint-config-prettier', ], settings: { react: { // Tells eslint-plugin-react to automatically detect the version of React to use. version: 'detect', }, // Tells eslint how to resolve imports 'import/resolver': { node: { paths: ['src'], extensions: ['.js', '.jsx', '.ts', '.tsx'], }, }, }, rules: { // Add your own rules here to override ones from the extended configs. }, };