1.1.2 • Published 6 years ago

eslint-config-bedly v1.1.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Linting

unified ESlint and editorconfig settings

npm install eslint-config-bedly

Usage

  • Inside your .eslintrc.js
module.exports = {
    "extends": [ "bedly" ]
};
  • Copy .editorconfig
cp ./node_modules/eslint-config-bedly/.editorconfig ./
  • Copy VScode settings to your workspace
cp -R ./node_modules/eslint-config-bedly/.vscode ./

Vscode plugin for prettier

ext install prettier-vscode

add this to your Vscode settings.json

"prettier.eslintIntegration":true

Vscode Editorconfig plugin

ext install EditorConfig

Format files using prettier

you may add this to your Vscode settings.json

"editor.formatOnSave":true

Press + + F on Mac