@vdl-dev/eslint-config-react
v1.0.1
Published
ESLint configuration used for React projects at Vandelanotte.
Downloads
147
Maintainers
Readme
Vandelanotte: ESLint configuration for React
A very opinionated ESLint configuration for React used at Vandelanotte.
Usage
Install the package as a devDependency.
# NPM
npm i @vdl-dev/eslint-config-react -D
# Yarn
yarn add @vdl-dev/eslint-config-react -D
Add the package to the extends
-section of your eslint configuration.
Example .eslintrc.js
file:
// .eslintrc.js
module.exports = {
type: "module",
env: {
es6: true,
node: true,
},
extends: [
'@vdl-dev/eslint-config-react',
],
}