@jamesdbruner/eslint-config

Opinionated shareable eslint configs for es6+ react, ts, node, and jest

Usage no npm install needed!

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

README

Generic linting rules for all of your favorite js frameworks.

Installation

yarn add -D @jamesdbruner/eslint-config

VSCode

To get your linter working properly and linting your code on save, you'll need to disable or uninstall Prettier and have ESLint enabled in your VSCode plugins.

Settings

{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "eslint.format.enable": true,
  "eslint.lintTask.enable": true,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
}

IntelliJ

Here's a quick guide on how to setup File Watchers.