Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 524 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 524 Bytes

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,
  {
    /*... */
  },
  // ...
];