1.0.0 • Published 2 years ago
@gergerwuu/eslint-config v1.0.0
This package provides .eslintrc as an extensible shared config.
Install
npm install -D @gergerwuu/eslint-configAdd the following configuration to the
eslintrc.jsfilemodule.exports = { parser: '@babel/eslint-parser', extends: ['@gergerwuu/eslint-config'], };- If need lint for
jest, please add anotherextendslike 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
2 years ago