1.0.0 • Published 3 years ago
@d-hussar/eslint-plugin v1.0.0
d-hussar ESLint Plugin
Installation
The plugin uses @typescript-eslint/parser
even for javascript projects.
npm i --save-dev @d-hussar/eslint-plugin
Note: make sure that your project has typescript
and eslint
installed.
Usage
Add @d-hussar
to the plugins section of a .eslintrc
file. In the extends section add the desired config.
{
"plugin": [
"@d-hussar"
],
"extends": [
"plugin:@d-hussar/javascript"
]
}
Note: make sure the appropriate extensions are passed in the eslint
command. By default, eslint
searches only for .js
files.
Configs
The plugin contains two configs:
plugin:@d-hussar/javascript
describes general rulesplugin:@d-hussar/typescript
contains javascript config and rules specific for TS
License
The code is licensed under MIT.
1.1.0-alpha.3
3 years ago
1.1.0-alpha.4
3 years ago
1.1.0-alpha.2
3 years ago
1.1.0-alpha.1
3 years ago
1.0.0
3 years ago