Socket
Book a DemoInstallSign in
Socket

@electron-toolkit/eslint-config-ts

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-toolkit/eslint-config-ts

Basic ESLint config for Electron-TypeScript projects.

latest
Source
npmnpm
Version
3.1.0
Version published
Weekly downloads
26K
14.27%
Maintainers
1
Weekly downloads
 
Created
Source

@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
)

Keywords

electron

FAQs

Package last updated on 13 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts