eslint-config-xo-multi-spaces

ESLint shareable config for XO with 2-space indent, key spacing and multi spaces

Usage no npm install needed!

<script type="module">
  import eslintConfigXoMultiSpaces from 'https://cdn.skypack.dev/eslint-config-xo-multi-spaces';
</script>

README

eslint-config-xo-multi-space Build Status

ESLint shareable config for XO with 2-space indent, key spacing and multi spaces.

This is for advanced users. You probably want to use XO directly.

Install

$ npm install --save-dev eslint-config-xo-multi-spaces

Usage

Add some ESLint config to your package.json:

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "extends": "xo-multi-spaces"
    }
}

Or to .eslintrc:

{
    "extends": "xo-multi-spaces"
}

This package also exposes xo-multi-spaces/esnext if you want ES2015 support and rules:

{
    "extends": "xo-multi-spaces/esnext"
}

And xo-multi-spaces/browser if you're in the browser:

{
    "extends": "xo-multi-spaces/browser"
}

License

MIT © Fredrik Forsmo