@warrify/eslint-config

A shared eslint config, with configurations for typescript, jest, react

Usage no npm install needed!

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

README

eslint-config-warrify

Usage

For just a basic setup including prettier, typescript and jest use:

// .eslintrc.js
module.exports = {
  extends: [
    "@warrify"
  ]
}

For node:

// .eslintrc.js
module.exports = {
  extends: [
    "@warrify/eslint-config/react"
  ]
}

If you also want react or react-native specific configurations:

// .eslintrc.js
module.exports = {
  extends: [
    "@warrify/eslint-config/react",
    "@warrify/eslint-config/react-native",
  ]
}