Shared eslint rules for Bengler
npm i -D eslint-config-bengler
{
"extends": [
"bengler"
]
}
{
"extends": [
"bengler",
"bengler/react",
]
}
{
"extends": [
"bengler/es5"
]
}
To ease migration of existing projects to the shared eslint config, a set of rules are redefined from errors to warnings.
These rules are defined in files in the ./legacy-overrides
folder.
!IMPORTANT! Do not include any of these in new projects. They are going away eventually.
A legacy project that uses React:
{
"extends": [
"bengler",
"bengler/legacy-overrides/base",
"bengler/react",
"bengler/legacy-overrides/react"
]
}