1.0.14 • Published 2 months ago

eslint-config-bzc v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

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

2 months ago

1.0.13

2 months ago

1.0.12

2 months ago

1.0.11

10 months ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago