ESLint shareable config for the Frost style.
npm i -D @fr0st/eslint-config eslintBrowser 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,
];- Node
^20.19.0 || ^22.13.0 || >=24 - ESLint
^10.0.0