1.0.27 • Published 3 days ago
@agsolutions/eslint-config v1.0.27
AGSolutions ESLint config
Whats included?
- airbnb config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @agsolutions/eslint-config
or
yarn add -D eslint @agsolutions/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@agsolutions/eslint-config/react"
// "extends": "@agsolutions/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
React (with Next.js)
Install dependencies:
npm i -D eslint @agsolutions/eslint-config
Inside .eslintrc.json
{
"extends": [
"@agsolutions/eslint-config/next",
"next/core-web-vitals"
]
}
React (without Next.js)
Install dependencies:
npm i -D eslint @agsolutions/eslint-config
Inside .eslintrc.json
{
"extends": "@agsolutions/eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint @agsolutions/eslint-config
Inside .eslintrc.json
{
"extends": "@agsolutions/eslint-config/node"
}
1.0.26
3 days ago
1.0.27
3 days ago
1.0.25
3 months ago
1.0.24
10 months ago
1.0.23
1 year ago
1.0.22
1 year ago
1.0.21
1 year ago
1.0.20
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year 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