2.0.0 • Published 9 months ago

eslint-config-bryanberger v2.0.0

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

eslint-config-bryanberger

This package provides my personal .eslintrc as an extensible shared config.

Usage

I export five ESLint configurations for your usage.

eslint-config-bryanberger

My default export contains most of my ESLint rules, including ECMAScript 6+, TypeScript and React. It requires eslint, eslint-plugin-import, @stylistic/eslint-plugin, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-import-resolver-typescript, eslint-plugin-react, eslint-plugin-react-hooks, and eslint-plugin-jsx-a11y.

Install the correct versions of each package

npx install-peerdeps --dev eslint-config-bryanberger

or

npm i -D eslint eslint-plugin-import @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-import-resolver-typescript eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y @stylistic/eslint-plugin

or with pnpm:

pnpm add -D eslint eslint-plugin-import @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-import-resolver-typescript eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y @stylistic/eslint-plugin

Extends config

Add "extends": "bryanberger" to your .eslintrc to extend the entire configuration.

If you only want to extend one of my configurations, your can only add "extends": "bryanberger/$CONFIG_NAME" to your .estlinrc. Here is the configurations list:

  • bryanberger/javascript
  • bryanberger/typescript
  • bryanberger/imports
  • bryanberger/react

You can extend multiple selected configs with the following syntax:

{
	"extends": [
		"bryanberger/javascript",
		"bryanberger/react"
	]
}
2.0.0

9 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.1.2

11 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago