eslint-config-xavdid
v3.0.0
Published
A custom eslint config, just how I like it
Downloads
685
Readme
eslint-config-xavdid
Format your code just like I do.
Contents
I'm sort of particular when it comes to ESLint configs. I mostly like Standard, but appreciate the power of Prettier when it comes to formatting.
This also includes some great plugins that don't come standard with Standard, such as for React and Jest.
Installation
yarn add --dev eslint-config-xavdid
You'll also need to make sure typescript
and eslint
are available.
Usage
When used, your .eslintrc.js
should be something like:
module.exports = {
root: true,
extends: "xavdid",
parserOptions: {
project: `${__dirname}/tsconfig.json`,
},
};