0.0.1 • Published 2 years ago
@twofortyfive/eslint-plugin v0.0.1
@twofortyfive/eslint-plugin
Additional rules enforcing some architectural aspects as well as code style
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install @twofortyfive/eslint-plugin:
npm install @twofortyfive/eslint-plugin --save-devUsage
Add eslint-mathieu-eveillard to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"mathieu-eveillard"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"mathieu-eveillard/rule-name": 2
}
}Rules
| Name | Description |
|---|---|
| no-restricted-imports | Forbid import of given packages into given paths |
0.0.1
2 years ago