7.0.49 • Published 8 months ago

eslint-config-reblend-app v7.0.49

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

eslint-config-react-app

This package includes the shareable ESLint configuration used by Create Reblend App. Please refer to its documentation:

Usage in Create Reblend App Projects

The easiest way to use this configuration is with Create Reblend App, which includes it by default.

You don’t need to install it separately in Create Reblend App projects.

Usage Outside of Create Reblend App

If you want to use this ESLint configuration in a project not built with Create Reblend App, you can install it with the following steps.

First, install this package and ESLint.

npm install --save-dev eslint-config-react-app eslint@^8.0.0

Then create a file named .eslintrc.json with following contents in the root folder of your project:

{
  "extends": "react-app"
}

That's it! You can override the settings from eslint-config-react-app by editing the .eslintrc.json file. Learn more about configuring ESLint on the ESLint website.

Jest rules

This config also ships with optional Jest rules for ESLint (based on eslint-plugin-jest).

You can enable these rules by adding the Jest config to the extends array in your ESLint config.

{
  "extends": ["react-app", "react-app/jest"]
}

Accessibility Checks

The following rules from the eslint-plugin-jsx-a11y plugin are activated:

If you want to enable even more accessibility rules, you can create an .eslintrc.json file in the root of your project with this content:

{
  "extends": ["react-app", "plugin:jsx-a11y/recommended"],
  "plugins": ["jsx-a11y"]
}

However, if you are using Create Reblend App and have not ejected, any additional rules will only be displayed in the IDE integrations, but not in the browser or the terminal.

7.0.49

8 months ago

7.0.48

9 months ago

7.0.43

9 months ago

7.0.44

9 months ago

7.0.47

9 months ago

7.0.41

11 months ago

7.0.40

11 months ago

7.0.35

11 months ago

7.0.32

11 months ago

7.0.33

11 months ago

7.0.30

11 months ago

7.0.31

11 months ago

7.0.38

11 months ago

7.0.39

11 months ago

7.0.36

11 months ago

7.0.37

11 months ago

7.0.29

12 months ago

7.0.28

12 months ago

7.0.23

1 year ago

7.0.24

1 year ago

7.0.21

1 year ago

7.0.22

1 year ago

7.0.20

1 year ago

7.0.27

1 year ago

7.0.25

1 year ago

7.0.26

1 year ago

7.0.13

1 year ago

7.0.18

1 year ago

7.0.19

1 year ago

7.0.16

1 year ago

7.0.17

1 year ago

7.0.14

1 year ago

7.0.15

1 year ago

7.0.12

1 year ago

7.0.10

1 year ago

7.0.11

1 year ago

7.0.8

1 year ago

7.0.7

1 year ago

7.0.9

1 year ago

7.0.6

1 year ago

7.0.5

1 year ago

7.0.4

1 year ago