1.0.0 • Published 11 months ago
@gergerwuu/eslint-config v1.0.0
This package provides .eslintrc as an extensible shared config.
Install
npm install -D @gergerwuu/eslint-config
Add the following configuration to the
eslintrc.js
filemodule.exports = { parser: '@babel/eslint-parser', extends: ['@gergerwuu/eslint-config'], };
- If need lint for
jest
, please add anotherextends
like thismodule.exports = { parser: '@babel/eslint-parser', extends: ['@gergerwuu/eslint-config', '@gergerwuu/eslint-config/jest'], };
Only provide
rules
, other config, such asparser
,env
,parserOptions
,settings
... It needs to be configured in the business project.Style Guide: https://github.com/airbnb/javascript
1.0.0
11 months ago