@electron-toolkit/eslint-config-ts

2.0.0 • Public • Published

@electron-toolkit/eslint-config-ts

Basic ESLint config for Electron-TypeScript projects.

Requires eslint >= 8.0.0.

This config is specifically designed to be used by @quick-start/create-electron setups.

See @typescript-eslint/eslint-plugin for available rules.

Installation

npm add -D @electron-toolkit/eslint-config-ts

Usage

This package comes with 3 rulesets.

@electron-toolkit/eslint-config-ts

This ruleset is the base configuration for Electron-TypeScript projects.

module.exports = {
  extends: ['@electron-toolkit/eslint-config-ts']
}

@electron-toolkit/eslint-config-ts/eslint-recommended

Built-in some recommended rules for Electron-TypeScript projects.

module.exports = {
  extends: ['@electron-toolkit/eslint-config-ts/eslint-recommended']
}

@electron-toolkit/eslint-config-ts/recommended

This is extended from @electron-toolkit/eslint-config-ts and @electron-toolkit/eslint-config-ts/eslint-recommended ruleset.

module.exports = {
  extends: ['@electron-toolkit/eslint-config-ts/recommended']
}

Dependents (0)

Package Sidebar

Install

npm i @electron-toolkit/eslint-config-ts

Weekly Downloads

14,265

Version

2.0.0

License

MIT

Unpacked Size

4.52 kB

Total Files

6

Last publish

Collaborators

  • alex.wei