1.0.9 • Published 4 months ago
@handmade-systems/eslint-plugin v1.0.9
eslint-plugin-handmade
Shared eslint config for Handmade Systems
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @handmade-systems/eslint-plugin
:
npm install @handmade-systems/eslint-plugin --save-dev
Usage
Add @handmade-systems
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@handmade-systems"
]
}
For a nextjs app use following config:
{
"extends": [
"plugin:@handmade-systems/base",
"plugin:@handmade-systems/react",
"plugin:@handmade-systems/next"
]
}
For a react app use following config:
{
"extends": [
"plugin:@handmade-systems/base",
"plugin:@handmade-systems/react"
]
}
For a node app use following config:
{
"extends": [
"plugin:@handmade-systems/base"
]
}
If you use tailwind use additional config:
{
"extends": [
"plugin:@handmade-systems/tailwind"
]
}
If you use storybook use additional config:
{
"extends": [
"plugin:@handmade-systems/storybook"
]
}
If you playwright use additional config:
{
"extends": [
"plugin:@handmade-systems/playwright"
]
}
1.0.9
4 months ago
1.0.8
4 months ago
1.0.7
5 months ago
1.0.6
5 months ago
1.0.5
5 months ago
1.0.4
5 months ago
1.0.3
5 months ago
1.0.2
5 months ago
1.0.1
5 months ago
1.0.0
5 months ago
0.0.13
5 months ago
0.0.12
6 months ago
0.0.11
7 months ago
0.0.10
8 months ago
0.0.7
11 months ago
0.0.4
11 months ago
0.0.2
11 months ago
0.0.1
11 months ago
0.0.0
11 months ago