3.1.0 • Published 10 months ago

@electron-toolkit/eslint-config-ts v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@electron-toolkit/eslint-config-ts

Basic ESLint config for Electron-TypeScript projects.

Requires eslint >= 9.0.0.

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

Installation

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

Usage

This package exports the following:

nameDescription
configA utility function for creating type-safe flat configs, export form typescript-eslint
configsBuilt-in configurations: base, recommended and recommendedTypeChecked
parserTypeScript parser for ESLint, export form @typescript-eslint/parser
pluginTypeScript plugin for ESLint, export form @typescript-eslint/eslint-plugin

Import @electron-toolkit/eslint-config-ts and add it to the configuration array in your eslint.config.js file.

import tseslint from '@electron-toolkit/eslint-config-ts'

export default tseslint.config(
  tseslint.configs.recommended
  // Any other config
)
3.1.0

10 months ago

3.0.0-beta.1

1 year ago

3.0.0-beta.0

1 year ago

3.0.0-beta.2

12 months ago

3.0.0

12 months ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

3 years ago