Shareable ESLint configuration.
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.
npm install --save-dev @jgarber/eslint-config
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"))();
@jgarber/eslint-config is freely available under the MIT License.