1.0.0 • Published 5 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-pluginNote: 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/javascriptdescribes general rulesplugin:@d-hussar/typescriptcontains javascript config and rules specific for TS
License
The code is licensed under MIT.
1.1.0-alpha.3
5 years ago
1.1.0-alpha.4
5 years ago
1.1.0-alpha.2
5 years ago
1.1.0-alpha.1
5 years ago
1.0.0
5 years ago