@spartanbio/eslint-config

Spartan Bio's ESLint config

Usage no npm install needed!

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

README

Spartan Bio ESLint config

ESlint config used by Spartan Bio.

Usage

  1. Add this package its peer dependencies to devDependencies
$ npx install-peerdeps --dev @spartanbio/eslint-config
  1. Add .eslintrc.js with the following:
module.exports = {
  extends: ['@spartanbio'],
};

If using babel, use:

module.exports = {
  root: true,
  parserOptions: {
    parser: 'babel-eslint',
    sourceType: 'module',
  },
  extends: ['@spartanbio'],
};