@electron-toolkit/eslint-config-ts
v2.0.0
Published
Basic ESLint config for Electron-TypeScript projects.
Downloads
59,871
Readme
@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']
}