1.0.0 • Published 2 years ago
@thorborn/eslint-plugin v1.0.0
@thorborn/eslint-plugin
Shared ESLint rules and configurations
Installation
Install the ESLint plugin and its peer dependencies:
$ npx install-peerdeps --dev @thorborn/eslint-plugin
Usage
Simply extend the relevant configuration in your project’s .eslintrc
.
"extends": "@thorborn/core"
Depending on the project you are working on it might make sense to augment the core config. For example, if you are working on a node project:
"extends": [
"@thorborn/core",
"@thorborn/node"
]
To avoid conflicts with prettier:
"extends": [
"@thorborn/core",
"@thorborn/prettier"
]
Note: The prettier config should always go last
1.0.0
2 years ago