@byte9/linter

Byte9 linter

Usage no npm install needed!

<script type="module">
  import byte9Linter from 'https://cdn.skypack.dev/@byte9/linter';
</script>

README

@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,
  },
}