@firefoxic/eslint-config

v3.0.1
Shared config for eslint by firefoxic.
config eslint javascript js lint linter linting

@firefoxic/eslint-config

License: MIT Changelog NPM version Test Status

Shared config for eslint by firefoxic.

To see the rules that this config uses, please read the config itself.

Installation

pnpm add -D eslint @firefoxic/eslint-config

Usage

Set your eslint.config.js to:

import { default as firefoxicEslintConfig, globals } from "@firefoxic/eslint-config"

export default [
    {
        languageOptions: {
            globals: {
                ...globals.browser, // If you're working on a frontend project
                ...globals.nodeBuiltin, // If you're working on a Node.js project
            },
        },
    },
    ...firefoxicEslintConfig,
    {
        rules: {
            // Your overrides or additions to rules
        }
    }
]
npm i @firefoxic/eslint-config

Metadata

  • MIT
  • ^18.12 || >=20.9
  • Sergey Artemov
  • released 8/19/2024

Downloads

Maintainers