Détail du package

eslint-config-lucid-typescript

A collection of eslint plugins for typescript with settings focused on reducing cognitive load and improving readability.

eslint, config, node

readme

Eslint Config Lucid Typescript

A collection of eslint plugins for typescript with settings focused on reducing cognitive load and improving readability.


Disclaimer

Lucid only supports the new flat config that shipped with ESLint v8.21.0


Installation

First install peer dependencies:

  • eslint >=8.56.0
  • typescript *
    npm i eslint typescript
    
    Next, install eslint-config-lucid-typescript:
    npm i eslint-config-lucid-typescript
    
    Then add Lucid to your eslint.config.js configuration file.


Rules

@stylistic/plus : object

ESLint rules for @stylistic/eslint-plugin-plus.

@stylistic/ts : object

ESLint rules for @stylistic/eslint-plugin-ts. NOTE: Rules that re-implement rules from other plugins have the same settings as lucid and are omitted from this page.

@typescript-eslint : object

ESLint rules for @typescript-eslint/eslint-plugin. NOTE: Rules that re-implement core rules have the same settings as lucid and are omitted from this page. Rules that are not specific to typescript are disabled.