eslint-config-bzc

Eslint Config for my personal and professional projects

MIT 14 个版本
安装
npm install eslint-config-bzc
yarn add eslint-config-bzc
pnpm add eslint-config-bzc
bun add eslint-config-bzc
README

eslint-config-bzc

Eslint Config for my personal and professional projects.

The rules defined in this package are purely my personal preference over years of development. It starts with eslint-config-airbnb as a base and shakes things up by either turning off overkill rules or adding more.

Installation

npm install --save-dev eslint-config-bzc

or

yarn add -D eslint-config-bzc

or

pnpm add -D eslint-config-bzc

In addition you will also need a list of peer dependencies for the linter to run properly

@babel/core @babel/plugin-syntax-flow @babel/plugin-syntax-jsx @babel/plugin-transform-react-jsx eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jest eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-fb-flow eslint-plugin-ft-flow eslint-plugin-react-hooks eslint-plugin-testing-library eslint eslint-plugin-unicorn hermes-eslint

Set up

In your .eslintrc.js file you can add the following

extends: ['eslint-config-bzc'],

eg:

module.exports = {
  extends: ['eslint-config-bzc'],
  // ...
};
版本列表
1.0.14 2024-03-18
1.0.13 2024-03-17
1.0.12 2024-03-17
1.0.11 2023-07-29
1.0.10 2022-04-20
1.0.9 2022-01-28
1.0.7 2022-01-12
1.0.6 2021-12-28
1.0.5 2021-12-14
1.0.4 2021-12-14
1.0.3 2021-12-11
1.0.2 2021-12-09
1.0.1 2021-12-08
1.0.0 2021-12-07