@hckrnews/eslint-config

ESLint and Prettier Config from hckr.news

Usage no npm install needed!

<script type="module">
  import hckrnewsEslintConfig from 'https://cdn.skypack.dev/@hckrnews/eslint-config';
</script>

README

Eslint default by hckr.news

These are my settings for ESLint and Prettier.

Here's an example usage:

{
  "extends": [
    "@hckrnews/eslint-config"
  ],
  "rules": {
    "no-console": 2,
    "prettier/prettier": [
      "error",
      {
        "trailingComma": "es5",
        "singleQuote": true,
        "printWidth": 120,
        "tabWidth": 8,
      }
    ]
  }
}