Eslint configuration for our company

Usage no npm install needed!

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



yarn add -D @seasonedsoftware/eslint-config

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

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


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

module.exports = {
    extends: '@seasonedsoftware/eslint-config',

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 @seasonedsoftware/eslint-config with your proposal.

ESLint and Prettier