@electron-internal/eslint-config

ESLint config used by Electron and Electron maintained modules

Usage no npm install needed!

<script type="module">
  import electronInternalEslintConfig from 'https://cdn.skypack.dev/@electron-internal/eslint-config';
</script>

README

@electron-internal/eslint-config npm

This module is a reusable eslint config that the Electron team uses across our projects for consistency. It is loosely based on standard but with several deviations, most notably we enforce semicolon usage.

Installation

yarn add eslint eslint-plugin-node @electron-internal/eslint-config --dev
// .eslintrc.json
{
  "extends": "@electron-internal"
}