Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@finsweet/eslint-config

finsweet1.6kMIT3.0.2

Finsweet's official configuration for ESLint.

readme

eslint-config

Finsweet's official flat configuration for ESLint.

How to start

First, install all the devDependencies:

pnpm add -D @finsweet/eslint-config eslint @eslint/js prettier typescript eslint-config-prettier eslint-plugin-prettier eslint-plugin-simple-import-sort typescript-eslint

Then, create a eslint.config.js file with the following configuration:

import finsweetConfigs from '@finsweet/eslint-config';

export default [
  ...finsweetConfigs,
  {
    /*... */
  },
  // ...
];

changelog

@finsweet/eslint-config

3.0.2

Patch Changes

  • ef7c67d: chore: updated dependencies

3.0.1

Patch Changes

  • c3738b4: fix: type module

3.0.0

Major Changes

  • ae769f5: breaking: migrate to ESLint flat configuration

2.0.7

Patch Changes

  • ff30e3f: chore: updated dependencies

2.0.6

Patch Changes

  • 356c6b2: chore: updated dependencies

2.0.5

Patch Changes

  • 67a2c32: chore: updated dependencies

2.0.4

Patch Changes

  • f04b761: chore: updated dependencies

2.0.3

Patch Changes

  • 83f7c26: whitelist console.error warnings

2.0.2

Patch Changes

  • b1f049d: chore: updated dependencies

2.0.1

Patch Changes

  • 7117b7a: chore: update peerDependencies

2.0.0

Major Changes

  • 0cb6dfa: [breaking]: Add eslint-plugin-simple-import-sort to the rule set. This is considered a breaking change because it can generate conflicts if a project is using other sorting plugins like @trivago/prettier-plugin-sort-imports.

1.2.0

Minor Changes

  • 8cf0daf: chores:

    • Updated dependencies.
    • Migrated repo to use pnpm.
    • Implemented @changesets CLI.