Skip to content

obytes/eslint-config-obytes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Make sure to remove the .prettierrc file since we're handling prettier inside the eslint config.

Using VSCode

  • Install VSCode ESLint package
  • Setup some VS Code settings (Workspace)
{
  "editor.formatOnSave": true,
  "javascript.format.enable": false,
  "prettier.eslintIntegration": true,
  "[javascript]": {
    "editor.formatOnSave": false
  },
  "[javascriptreact]": {
    "editor.formatOnSave": false
  },
  "eslint.autoFixOnSave": true,
  "prettier.disableLanguages": ["javascript", "javascriptreact"]
}

About

Eslint Obytes Config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •