https://github.com/clebert/onecfg-lib-eslint
An ESLint config for use in onecfg projects.
https://github.com/clebert/onecfg-lib-eslint
Last synced: about 1 year ago
JSON representation
An ESLint config for use in onecfg projects.
- Host: GitHub
- URL: https://github.com/clebert/onecfg-lib-eslint
- Owner: clebert
- License: mit
- Created: 2024-03-19T12:52:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T23:25:49.000Z (over 1 year ago)
- Last Synced: 2025-04-10T19:19:50.351Z (about 1 year ago)
- Language: JavaScript
- Size: 140 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# onecfg-lib-eslint
> An ESLint config for use in onecfg projects.
## Installation
```sh
npm install onecfg-lib-eslint
```
## Usage Example
`eslint.config.js`:
```js
import { createConfigs } from 'onecfg-lib-eslint';
export default [
{ ignores: [`dist/`, `lib/`] },
...createConfigs({
browser: true,
node: true,
}),
];
```