https://github.com/343dev/eslint-config
ESLint rules that follow my style guide
https://github.com/343dev/eslint-config
Last synced: about 1 month ago
JSON representation
ESLint rules that follow my style guide
- Host: GitHub
- URL: https://github.com/343dev/eslint-config
- Owner: 343dev
- License: mit
- Created: 2024-08-06T08:42:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-01T06:14:44.000Z (6 months ago)
- Last Synced: 2026-01-06T00:58:13.289Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @343dev/eslint-config
[](https://www.npmjs.com/package/@343dev/eslint-config)
ESLint rules that follow my style guide.
## Installation
```bash
npm install --save-dev eslint globals @343dev/eslint-config
```
## Usage
Include into a project config using flag [--config](https://eslint.org/docs/latest/use/command-line-interface#-c---config),
and pass paths for files as arguments:
```sh
eslint -c ./node_modules/@343dev/eslint-config/eslint.config.js ./src
```
Also you can create your own `eslint.config.js` and extend this config there:
```js
import config from '@343dev/eslint-config';
import globals from 'globals';
export default [
...config,
{
languageOptions: {
globals: globals.jest,
},
},
];
```
Read more about `eslint.config.js` in [ESLint docs](https://eslint.org/docs/latest/use/configure/configuration-files).