2.0.0 • Published 10 months ago

@dlevs/eslint-config v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

ESLint config

An ESLint config for TypeScript projects.

Installation

npm i -D eslint @dlevs/eslint-config

Usage

Make an eslint.config.js file:

import { configure } from "@dlevs/eslint-config";

export default [
  {
    // Use this instead of a .eslintignore file.
    ignores: ["build/**", "public/**"],
  },
  ...configure({ react: true, remix: true }),
];

Note, .eslintrc files won't work - you must name the file eslint.config.js, and use the "flat config" format. It was implemented this way as it's the only way to include plugins in a shareable config.

Update VSCode settings

If using VSCode, lint errors will not show until you add this to your settings.json file:

{
  "eslint.experimental.useFlatConfig": true
}
2.0.0

10 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago