Package detail

@firefoxic/eslint-config

firefoxic300MIT5.0.0

Shared config for eslint by firefoxic.

config, eslint, javascript, js

readme

@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
        }
    }
]

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

5.0.0 — 2024–11–16

Changed

  • The config is now required eslint version 9.15 or higher and node.js version 20.13 or higher except version 21.
  • Import sorting has been removed. Use editor customization instead (available in vscode and zed).

4.0.0 — 2024–10–30

Changed

  • The config is now required eslint version 9.13 or higher and node.js version 20.12 or higher except version 21.

3.0.1 — 2024–08–19

Fixed

  • Type definitions have now been added to the package.

3.0.0 — 2024–08–18

Changed

  • const bindings are now only allowed at the top level of the module’s scope, so that it can represent a value that is a true, dependency-free constant such as π, , etc…

2.2.0 — 2024–08–14

Added

  • Irregular whitespaces are no longer prohibited. That's for sure now 🤭

2.1.0 — 2024–08–14

Added

  • Irregular whitespaces are no longer prohibited.

2.0.0 — 2024–05–26

Changed

  • Multiline comments (except jsDoc) should now be sequences of single-line comments.

Fixed

  • Irregular whitespaces are now allowed in comments, regular expressions, strings, template literals, and JSX-like text.

1.0.0 — 2024–05–06

Added

  • Base config for eslint without using globals, but with its re-export.