0.1.0 • Published 5 years ago

eslint-config-obytes v0.1.0

Weekly downloads
7
License
ISC
Repository
-
Last release
5 years ago

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

{
// 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"
],
}