1.2.4 • Published 1 year ago
@imwebme/eslint-config v1.2.4
@imwebme/eslint-config
A rule set of imwebme's ESLint configurations
- eslint:recommended List of available rules - ESLint - Pluggable JavaScript linter
- @typescript-eslint/recommended typescript-eslint/packages/eslint-plugin at main · typescript-eslint/typescript-eslint
Installation
npm install --save-dev @imwebme/eslint-config
or
yarn --dev @imwebme/eslint-config
Usage
Javascript
.eslintrc.js
module.exports = {
extends: [
'@imwebme/eslint-config'
]
}
.eslintrc
{
"extends": [
"@imwebme/eslint-config"
]
}
@imwebme/eslint-config/typescript
- @typescript-eslint/eslint-plugin
- typescript
Typescript
.eslintrc.js
module.exports = {
extends: [
'@imwebme/eslint-config',
'@imwebme/eslint-config/typescript'
]
}
.eslintrc
{
"extends": [
"@imwebme/eslint-config",
"@imwebme/eslint-config/typescript"
]
}
@imwebme/eslint-config/react
- eslint-plugin-react
Javascript + React
.eslintrc.js
{
"extends": [
'@imwebme/eslint-config',
'@imwebme/eslint-config/react',
],
}
.eslintrc
{
"extends": [
"@imwebme/eslint-config",
"@imwebme/eslint-config/react"
]
}
Typescript + React
.eslintrc.js
module.exports = {
extends: [
'@imwebme/eslint-config',
'@imwebme/eslint-config/typescript',
'@imwebme/eslint-config/react'
]
}
.eslintrc
{
"extends": [
"@imwebme/eslint-config",
"@imwebme/eslint-config/typescript",
"@imwebme/eslint-config/react"
]
}
@imwebme/eslint-config/prettier
- eslint-plugin-prettier
Prettier
.prettierrc
{
"extends": [
'@imwebme/eslint-config',
'@imwebme/eslint-config/prettier',
],
}
1.2.4
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.36
1 year ago
1.1.35
1 year ago
1.1.34
1 year ago
1.1.33
1 year ago
1.1.32
1 year ago
1.1.31
1 year ago
1.1.30
1 year ago
1.1.29
1 year ago
1.1.28
1 year ago
1.1.27
1 year ago
1.1.26
1 year ago
1.1.25
1 year ago
1.1.24
1 year ago
1.1.23
1 year ago
1.1.22
1 year ago
1.1.21
1 year ago
1.1.20
1 year ago
1.1.19
1 year ago
1.1.18
1 year ago
1.1.17
1 year ago
1.1.16
1 year ago
1.1.15
1 year ago
1.1.14
1 year ago
1.1.13
1 year ago
1.1.12
1 year ago
1.1.11
1 year ago
1.1.10
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.1.0
1 year ago