Skip to content

Repository files navigation

Frost ESLint Config

CI npm version npm downloads license

ESLint shareable config for the Frost style.

Installation

npm i -D @fr0st/eslint-config eslint

Usage

Browser projects:

import frostConfig, { browserConfig } from '@fr0st/eslint-config';

export default [
    frostConfig,
    browserConfig,
];

Node projects:

import frostConfig, { nodeConfig } from '@fr0st/eslint-config';

export default [
    frostConfig,
    nodeConfig,
];

If you want to scope the config to specific files, wrap it in your own config object:

import frostConfig, { nodeConfig } from '@fr0st/eslint-config';

export default [
    {
        ...frostConfig,
        files: ['**/*.{js,mjs,cjs}'],
    },
    nodeConfig,
];

Compatibility

  • Node ^20.19.0 || ^22.13.0 || >=24
  • ESLint ^10.0.0

About

ESLint shareable config for the Frost style.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages