eslint-config-adambrgmn

Personal eslint settings

Usage no npm install needed!

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

README

eslint-config-adambrgmn

My basic setup for eslint. To make it work flawless run the following code in your terminal:

$ npm install --save-dev eslint eslint-config-adambrgmn eslint-plugin-{babel,import,jsx-a11y,react} babel-eslint

Then create a new .eslintrc-file in your projects root folder, and add the following:

{
  "parser": "babel-eslint",
  "extends": "adambrgmn",
  "env": {
    "node": true,
    "browser": true,
    "es6": true
  },
  "plugins": ["babel", "import", "jsx-a11y", "react"]
}