eslint-config-planetary-ssb

Minimal linting settings in a shareable eslint config.

Usage no npm install needed!

<script type="module">
  import eslintConfigPlanetarySsb from 'https://cdn.skypack.dev/eslint-config-planetary-ssb';
</script>

README

eslint config planetary-ssb

Minimal linting settings in a shareable eslint config.

  • 4 spaces
  • no semicolons
  • max line length of 80 columns
  • no unused variables, but unused parameters are ok
  • single quotes, but double are ok for escaping purposes
  • no-undef

install

$ npm i -D eslint eslint-config-planetary-ssb

use

$ npm run lint

package.json

{
    "scripts": {
        "lint": "eslint ."
    }
}

.eslintrc

{
    "extends": ["planetary-ssb"]
}