1.2.7 • Published 11 months ago

@jsenv/eslint-config-relax v1.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

11 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

12 months ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago