@thedaviddias/eslint-config
v1.1.1
Published
Custom ESLint configuration for David Dias projects
Downloads
18
Maintainers
Readme
@thedaviddias/eslint-config
Custom eslint-config
configuration for my personal projects.
Installation
npm install --save-dev @thedaviddias/eslint-config
Usage
Then add the extends to your .eslintrc.js
:
module.exports = {
extends: '@thedaviddias/eslint-config',
rules: {
// your overrides
},
}
Base
{
"extends": "@thedaviddias/eslint-config"
}
Jest
{
"extends": "@thedaviddias/eslint-config/jest"
}
Next
{
"extends": "@thedaviddias/eslint-config/next"
}
React
{
"extends": "@thedaviddias/eslint-config/react"
}
TypeScript
{
"extends": "@thedaviddias/eslint-config/typescript"
}