0.2.5-alpha.0 • Published 4 years ago

@byte9/linter v0.2.5-alpha.0

Weekly downloads
194
License
MIT
Repository
-
Last release
4 years ago

@byte9/linter

First of all you should have install in your vscode:

To install the package execute the following command:

npm i --save-dev @byte9/linter

Once the package has been installed in the pacakge.json of the project that you would like to lint introduce:

  "eslintConfig": {
    "extends": ["./node_modules/@byte9/linter/eslintrc.js"]
  },
  "sasslintConfig": "./node_modules/@byte9/linter/.sass-lint.yml"

To enable the @byte9/linter in vscode please type: CMD + SHIFT + P type open user settings and introduce the following rules.

{
  "eslint.autoFixOnSave": true,
  "editor.formatOnSave": true,
  "[javascript]": {
    "editor.formatOnSave": false,
  },
}