@adobe/eslint-config-helix
Version:
Helix's ESLint config, based on Airbnb's style guide
55 lines (38 loc) • 1.1 kB
Markdown
# Helix eslint config
ESLint config used in helix projects.
## Usage
### For ESLint v9.x
In your `eslint.config.js`, import the `recommended` settings, `source` and `test` configurations and add your ignores, e.g.:
```
import { defineConfig, globalIgnores } from '@eslint/config-helpers'
import { recommended, source, test } from '@adobe/eslint-config-helix';
export default defineConfig([
globalIgnores([
'.vscode/*',
'coverage/*',
'dist/*',
]),
{
extends: [recommended],
},
source,
test,
]);
```
## Status
[](https://circleci.com/gh/adobe/helix-eslint-config)
[](https://github.com/adobe/helix-eslint-config/blob/main/LICENSE.txt)
[](https://github.com/adobe/helix-eslint-config/issues)
## Development
### Build
```bash
npm install
```
### Test
```bash
npm test
```
### Lint
```bash
npm run lint
```