eslint-config-vscode-ext
v1.1.0
Published
ESLint config for VS Code extensions
Downloads
34
Maintainers
Readme
eslint-config-vscode-ext
This module is an ESLint shareable config for TypeScript, to be used with VS Code extensions.
Installation
$ npm install --save-dev eslint eslint-config-vscode-ext @typescript-eslint/parser @typescript-eslint/eslint-plugin
Usage
Add a ESLint config to your package.json
(or .eslintrc
):
{
"name": "my-vscode-extension",
"eslintConfig": {
"extends": [
"vscode-ext"
]
}
}
And a script, so you can run it via shell:
{
"scripts": {
...
"lint": "eslint -c package.json --ext .ts <mySrcFolder>"
}
}
Support
If you find it useful, please consider supporting it.
License
MIT © Alessandro Fragnani