eslint-config-obytes

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-obytes

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

2.69 kB

Total Files

4

Last publish

Collaborators

  • yjose