[리액트] eslint.json
{
"env": {
"browser": true,
"node": true,
"commonjs": true,
"es6": true
},
"extends": ["prettier", "react-app"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": ["react", "react-hooks"],
"rules": {
"camelcase": "off",
"prettier/prettier": 0,
"no-unused-vars": "warn",
"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",
"no-param-reassign": ["error", { "props": false }],
"max-len": "off",
"no-unused-expressions": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react-hooks/exhaustive-deps": "warn"
},
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "detect"
}
}
}
Author And Source
이 문제에 관하여([리액트] eslint.json), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@jsw4215/리액트-eslint.json저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)