0.1.2 • Published 2 years ago

@fenghan/eslint-config-react v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

ESlint Config for React

npm version

ESlint configuration for my react projects.

Installation

This package is distributed via npm. It requires eslint.

If using npm 5+, use this shortcut:

npx install-peerdeps -D @fenghan/eslint-config-react

Or install each package by yourself:

npm install -D @fenghan/eslint-config-react eslint
# or
yarn add -D @fenghan/eslint-config-react eslint

Usage

Add the extends to your .eslintrc.js:

module.exports = {
  extends: '@fenghan/eslint-config-react',
  parserOptions: {
    project: 'tsconfig.json',
  },
  rules: {
    // your overrides
  },
}

What's Inside?

This configuration contains the following cool packages.

PackageDescriptionAuto Enabled
@fenghan/eslint-config-tsMy ESlint configs for TypeScript.
eslint-config-airbnbThis package provides Airbnb's .eslintrc as an extensible shared config.
eslint-plugin-reactReact specific linting rules for ESLint.
eslint-plugin-react-hooksThis ESLint plugin enforces the Rules of Hooks.
eslint-plugin-jsx-a11yStatic AST checker for a11y rules on JSX elements.
eslint-plugin-jestESLint plugin for Jest.
eslint-plugin-jest-domESLint rules for use with jest-dom.
eslint-plugin-testing-libraryESLint plugin for Testing Library.
0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

1.1.0

3 years ago