Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgarber623/eslint-config
Shareable ESLint configuration.
https://github.com/jgarber623/eslint-config
eslint eslint-config javascript nodejs
Last synced: 3 months ago
JSON representation
Shareable ESLint configuration.
- Host: GitHub
- URL: https://github.com/jgarber623/eslint-config
- Owner: jgarber623
- License: mit
- Created: 2022-01-28T04:13:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T21:37:00.000Z (4 months ago)
- Last Synced: 2024-10-08T15:04:14.513Z (3 months ago)
- Topics: eslint, eslint-config, javascript, nodejs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@jgarber/eslint-config
- Size: 290 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @jgarber/eslint-config
**Shareable [ESLint](https://eslint.org) configuration.**
[![npm](https://img.shields.io/npm/v/@jgarber/eslint-config.svg?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@jgarber/eslint-config)
[![Downloads](https://img.shields.io/npm/dt/@jgarber/eslint-config.svg?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@jgarber/eslint-config)
[![Build](https://img.shields.io/github/actions/workflow/status/jgarber623/eslint-config/ci.yml?branch=main&logo=github&style=for-the-badge)](https://github.com/jgarber623/eslint-config/actions/workflows/ci.yml)> [!IMPORTANT]\
> This shareable configuration uses ESLint's new "flat" configuration file format, which may not be suitable for every project. See [the official documentation](https://eslint.org/docs/latest/use/configure/configuration-files-new) for details.## Installation
```sh
npm install --save-dev @jgarber/eslint-config
```## Usage
Using [ECMAScript module (ESM)](https://nodejs.org/api/esm.html) syntax:
```js
// eslint.config.js
export { default } from "@jgarber/eslint-config";
```Using [CommonJS module](https://nodejs.org/api/modules.html) syntax:
```js
// eslint.config.js
module.exports = (async () => await require("@jgarber/eslint-config"))();
```## License
@jgarber/eslint-config is freely available under the [MIT License](https://opensource.org/licenses/MIT).