eslint-config-seasoned

1.0.0 • Public • Published

Installation

yarn add -D eslint-config-seasoned

You may also need to install aditions dependencies if yarn complains, such as:

yarn add -D eslint-config-airbnb-base eslint-config-universe

Setup

create a .eslintrc.js file to the root of the app with the following content:

module.exports = {
    extends: 'eslint-config-seasoned',
}

To avoid conflicts, delete your own .prettierrc. You can still overwrite your eslint rules if you want to change the way prettier behaves by it to .eslintrc.js like so:

rules: {
  'global-require': 2,
  'prettier/prettier': ['error', { jsxBracketSameLine: false }],
}

You can still overwrite the env, globals and parser in your local .eslintrc.js. But if you keep doing so, consider opening an issue or Pull Request at eslint-config-seasoned with your proposal.

ESLint and Prettier

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-seasoned

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.07 kB

Total Files

5

Last publish

Collaborators

  • guga.guichard
  • felipefreitag
  • danielweinmann