0.5.5 • Published 2 years ago
@planet-matrix/eslint-config v0.5.5
ESLint Config
Install
ni -D eslint @planet-matrix/eslint-config
Usage
package.json
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix ."
}
}
eslint.config.js
import { planetMatrix } from "@planet-matrix/eslint-config"
export default planetMatrix({
strict: true,
typeChecked: true,
plugins: ["react", "web"],
configs: [],
})
.vscode/settings.json
{
"eslint.experimental.useFlatConfig": true,
"eslint.validate": ["typescript", "typescriptreact"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
// optional, if you are using monorepo
"eslint.workingDirectories": [
{ "pattern": "apps/*/" },
{ "pattern": "packages/*/" }
]
}
Details
- Manually choose other plugins by setting
includes
option - Set
typeChecked
andstrict
options to choose typescript-eslint preset - From
v0.4.0
, ESLint plugin for Next.js and TailwindCSS are not included.
0.5.5
2 years ago
0.5.3
2 years ago
0.5.2
2 years ago
0.5.1
2 years ago
0.5.0
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.3
2 years ago
0.4.2
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.19
2 years ago
0.1.18
2 years ago
0.1.17
2 years ago
0.1.16
2 years ago
0.1.15
2 years ago
0.1.14
2 years ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago