We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// .eslintrc.js module.exports = { root: true, env: { browser: true, node: true, }, extends: [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:import/errors", // 추가 "plugin:import/warnings", // 추가 "plugin:prettier/recommended", // Prettier와 통합 ], plugins: ["prettier", "@typescript-eslint"], rules: { "prettier/prettier": [ "error", { singleQuote: false, semi: true, useTabs: false, tabWidth: 2, printWidth: 80, bracketSpacing: true, arrowParens: "avoid", trailingComma: "es5", // 추가 }, ], // 추가적으로 원하는 규칙을 여기에 추가할 수 있습니다. "no-console": "warn", // 예: console 사용 경고 "no-explicit-any": "off", // any 사용 허용 }, parserOptions: { parser: "@typescript-eslint/parser", ecmaVersion: 2021, // 최신 ECMAScript 버전 사용 sourceType: "module", // 모듈 사용 }, settings: { "import/resolver": { node: { extensions: [".js", ".jsx", ".ts", ".tsx"], }, }, }, };
npm install -D eslint-plugin-import
The text was updated successfully, but these errors were encountered:
No branches or pull requests
개요
결과
수정한 코드 및 추가 설치 플러그인 명령어
The text was updated successfully, but these errors were encountered: