2.3.1 • Published 4 months ago

eslint-config-widen-typescript v2.3.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

eslint-config-widen

Widen's shared ESLint config for Typescript.

Installation

yarn add -D eslint eslint-config-widen-typescript eslint-plugin-sort @typescript-eslint/{eslint-plugin,parser}

Usage

In your eslint.config.mjs file, add the following four entries to your extends list. If you don't need a specific configuration, simply remove it from the list.

import typescript from 'eslint-config-widen-typescript'

export default [
  ...typescript,
  ...[
    // you can specify what to ignore by using the `ignores` key before any other rule
    // this will filter out things we dont want this to run on
    { ignores: ['*.test.*'] },
    // you can also override rules by specifying the rule and the new value
    { files: ['*.spec.js'], rules: { 'no-unused-vars': 'off' } },
  ],
]
2.3.0

4 months ago

2.3.1

4 months ago

2.0.0

6 months ago