eslint-config-obytes
installation
Install the package with
npm install eslint-config-obytes --save-dev
or
yarn add eslint-config-obytes -D
Eslint Setup
Now add the config to either the package.json:
"eslintConfig": "extends": "obytes"
or to the .eslintrc or .eslintrc.js:
"extends": "obytes"
Using VSCode
- Install VSCode ESLint package
- Setup some VS Code settings (Workspace)
// These are all my auto-save configs"editor.formatOnSave": true// turn it off for JS, we will do this via eslint"[javascript]": "editor.formatOnSave": false// tell the ESLint plugin to run on save"eslint.autoFixOnSave": true// if you are using prettier vscode extension"prettier.disableLanguages": "js"