1.2.0 • Published 6 years ago
@seatentacle/eslint-plugin v1.2.0
SeaTentacle ESLint Plugin
Installation
The plugin uses @typescript-eslint/parser even for javascript projects.
npm i --save-dev @seatentacle/eslint-pluginNote: make sure that your project has typescript and eslint installed.
Usage
Add @seatentacle to the plugins section of a .eslintrc file. In the extends section add the desired config.
{
"plugin": [
"@seatentacle"
],
"extends": [
"plugin:@eseatentacle/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:@seatentacle/javascriptdescribes general rulesplugin:@seatentacle/typescriptcontains javascript config and rules specific for TS
License
The code is licensed under MIT.