Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (andrelinos-eslint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Andrelino Silva ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
React (with Next.js)
Install dependencies:
npm i -D eslint andrelinos-eslint-configInside .eslintrc.json
{
"extends": [
"andrelinos-eslint-config/next",
"plugin:tailwindcss/recommended",
"next/core-web-vitals"
],
"plugins": [
"simple-import-sort"
],
}React (without Next.js)
Install dependencies:
npm i -D eslint andrelinos-eslint-configInside .eslintrc.json
{
"extends": [
"andrelinos-eslint-config/react",
"plugin:tailwindcss/recommended"
],
"plugins": [
"simple-import-sort"
]
}Node.js
Install dependencies:
npm i -D eslint andrelinos-eslint-configInside .eslintrc.json
{
"extends": "andrelinos-eslint-config/node",
"plugins": [
"simple-import-sort"
]
}