An extensible config library for JavaScript developers which utilizes the flat config now default in ESlint v9.x.
npm i --save-dev @innovixx/eslint-config
yarn add --dev @innovixx/eslint-config
pnpm i -D @innovixx/eslint-config
There are a number of configurations for consumption. For an example of a minimal base configuration:
import baseConfig from '@innovixx/eslint-config/config/configs/base/index.mjs';
export default [
baseConfig,
{
files: ['**/*.{js}'],
},
];This can then be extended to provide the React, TypeScript and Jest Configs also available in the library, as well as custom rules, plugins, and settings. For more information see the ESLint config guide
For working examples, see the demo app.
git clone git@github.com:innovixx/eslint-config.git
pnpm i
pnpm lint
The demo directory uses the eslint config file in the root of the project.
MIT Copyright (c) Innovixx Digital Limited