1.0.4 • Published 4 years ago

eslint-config-laybricks v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

ESLINT-CONFIG-LAYBRICKS

How to set

  1. Add following line to .vscode/setting.json file
{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "[javascript, typescript]": {
    "editor.defaultFormatter": "dbaeumer.vscode-eslint",
    "eslint.alwaysShowStatus": true,
    "eslint.validate": ["javascript", "typescript"]
  },
  "editor.formatOnSave": true,
  "editor.formatOnPaste": true
}
  1. Install prettier and eslint extension in vscode
  1. Add following line to project's package.json file
{
  "eslintConfig": {
    "extends": "eslint-config-laybricks"
  },
  "prettier": "eslint-config-laybricks/prettier.config",
}
  1. Done! Just start coding and have fun.💜❤️💛