https://github.com/elusivecodes/eslint-config
ESLint shareable config for the Frost style.
https://github.com/elusivecodes/eslint-config
Last synced: 2 months ago
JSON representation
ESLint shareable config for the Frost style.
- Host: GitHub
- URL: https://github.com/elusivecodes/eslint-config
- Owner: elusivecodes
- License: mit
- Created: 2024-06-19T13:28:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-18T15:10:59.000Z (2 months ago)
- Last Synced: 2026-03-19T02:02:22.085Z (2 months ago)
- Language: JavaScript
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Frost ESLint Config
[](https://github.com/elusivecodes/ESLint-Config/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/@fr0st/eslint-config)
[](https://www.npmjs.com/package/@fr0st/eslint-config)
[](https://github.com/elusivecodes/ESLint-Config/blob/main/LICENSE)
ESLint shareable config for the *Frost* style.
## Installation
```bash
npm i -D @fr0st/eslint-config eslint
```
## Usage
Browser projects:
```javascript
import frostConfig, { browserConfig } from '@fr0st/eslint-config';
export default [
frostConfig,
browserConfig,
];
```
Node projects:
```javascript
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:
```javascript
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`