Skip to content

innovixx/eslint-config

Repository files navigation

ESLint Config Guide

Highlights

An extensible config library for JavaScript developers which utilizes the flat config now default in ESlint v9.x.

Quick Start

Installation

npm i --save-dev @innovixx/eslint-config
yarn add --dev @innovixx/eslint-config
pnpm i -D @innovixx/eslint-config

Usage

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.

Demo

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.

License

MIT Copyright (c) Innovixx Digital Limited

About

Innovixx opinionated JavaScript style guide

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors