eslint-config-ellae
v1.3.1
Published
ESLint configuration used by ELLAE(based off of Airbnb's config)
Downloads
2
Readme
eslint-config-ellae
node >= 16.0.0
Install
$ npm info "eslint-config-ellae@latest" peerDependencies
$ npm install --save-dev eslint-config-ellae eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser
$ npm install --save-dev --save-exact [email protected] [email protected]
or
$ yarn add -D eslint-config-ellae eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser
$ yarn add -DE [email protected] [email protected]
설치 후 .eslintrc.js 의 extends: ['ellae'] 프로퍼티 값을 설정한다.
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['ellae'],
rules: {},
};
Resolve error: unable to load resolver "node". 관련 에러가 발생한다면 eslint-import-resolver-node 를 설치한다.
$ yarn add -D eslint-import-resolver-node