1.2.7 • Published 9 months ago

@jsenv/eslint-config-relax v1.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

eslint-config-relax

npm package

Two things:

  1. ESLint should bother me only for important things
  2. Share ESLint configuration for different types of project

Usage

npm i --save-dev @jsenv/eslint-config-relax

eslint.config.js

import { eslintConfigRelax } from "@jsenv/eslint-config-relax";

export default eslintConfigRelax({
  rootDirectoryUrl: new URL("./", import.meta.url),
  browserDirectoryUrl: new URL("./src/", import.meta.url), // optional
});

Best parts

  • No need to configure ESLint; it is hard to do correctly
  • Freedom in the code; rules coercing you to code in a certain way are disabled
  • Import resolution works; The whole node esm resolution algorith is implemented

To know

  • No support for TypeScript (it's planned)
  • Not compatible with ESLint < 8
1.2.7

9 months ago

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago