Skip to content

jgarber623/eslint-config

Repository files navigation

@jgarber/eslint-config

Shareable ESLint configuration.

npm Downloads Build

Important

This shareable configuration uses ESLint's new "flat" configuration file format, which may not be suitable for every project. See the official documentation for details.

Installation

npm install --save-dev @jgarber/eslint-config

Usage

Using ECMAScript module (ESM) syntax:

// eslint.config.js
export { default } from "@jgarber/eslint-config";

Using CommonJS module syntax:

// eslint.config.js
module.exports = (async () => await require("@jgarber/eslint-config"))();

License

@jgarber/eslint-config is freely available under the MIT License.