Skip to content

Repository with collection of my custom eslint configs

License

Notifications You must be signed in to change notification settings

burtek/eslint-config

Repository files navigation

@dtrw/eslint-config

npm version NPM License Release dependencies

This is repository with my eslint configs for multiple purposes that are used (or will be used) in my other projects.

Install

yarn add -D @dtrw/eslint-config@~5.4.0 eslint

or

npm i -D @dtrw/eslint-config@~5.4.0 eslint

Usage

// eslint.config.js

import { config, prepareConfig } from '@dtrw/eslint-config'; // config re-exported from typescript-eslint

export default prepareConfig(configuration)
//or
export default config(
    ...prepareConfig(configuration),
    ...moreFlatConfigs
);

Configuration

The configuration object can contain following keys:

  • jest
  • json
  • lodash
  • node
  • react
  • cypress
  • testing-library

TODO: Docs

About

Repository with collection of my custom eslint configs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •