https://github.com/zestia/eslint-config
ESLint config used across projects
https://github.com/zestia/eslint-config
Last synced: 11 months ago
JSON representation
ESLint config used across projects
- Host: GitHub
- URL: https://github.com/zestia/eslint-config
- Owner: zestia
- Created: 2018-01-16T15:23:38.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T13:07:37.000Z (over 1 year ago)
- Last Synced: 2025-06-09T20:08:30.362Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.31 MB
- Stars: 1
- Watchers: 16
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @zestia/eslint-config
This package provides linting rules for JavaScript projects.
## Installation
```
npm install --save-dev @zestia/eslint-config
```
Add the following to `~/.npmrc` to pull @zestia scoped packages from Github instead of NPM.
```
@zestia:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=
```
## Setup
1. Create the following file `eslint.config.mjs`
```javascript
import js from '@eslint/js';
import zestia from '@zestia/eslint-config';
export default [js.configs.recommended, zestia];
```
2. Add the following to `scripts` in `package.json`
```
"lint:js": "eslint ."
```
## Running
```
npm run lint:js
```
## Related repos
- https://github.com/zestia/eslint-config
- https://github.com/zestia/stylelint-config
- https://github.com/zestia/template-lint-config
- https://github.com/zestia/prettier-config