https://github.com/omermecitoglu/eslint-config
My favorite eslint rules
https://github.com/omermecitoglu/eslint-config
eslint-config shareable-config
Last synced: 3 months ago
JSON representation
My favorite eslint rules
- Host: GitHub
- URL: https://github.com/omermecitoglu/eslint-config
- Owner: omermecitoglu
- License: mit
- Created: 2024-01-06T08:24:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-07T13:45:59.000Z (4 months ago)
- Last Synced: 2026-02-07T15:51:26.970Z (4 months ago)
- Topics: eslint-config, shareable-config
- Language: TypeScript
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @omer-x/eslint-config
[](https://www.npmjs.com/package/@omer-x/eslint-config)
[](https://www.npmjs.com/package/@omer-x/eslint-config)
[](https://codecov.io/gh/omermecitoglu/eslint-config)
[](https://opensource.org/licenses/MIT)
[](https://github.com/omermecitoglu/eslint-config/commits/main/)
[](https://github.com/omermecitoglu/eslint-config/issues)
[](https://github.com/omermecitoglu/eslint-config)
This package contains my favorite ESLint rules, created following [this tutorial](https://eslint.org/docs/latest/extend/shareable-configs) on ESLint's shareable configs.
## Installation
Install this package via npm:
```bash
npm install @omer-x/eslint-config --save-dev
```
Ensure you have the following peer dependencies installed:
- `eslint >= 9`
## Usage
Add the configuration to your ESLint configuration file (e.g., `eslint.config.js` or `eslint.config.mjs`):
```javascript
import omer from "@omer-x/eslint-config";
export default [
...omer,
{
rules: {
// add your other rules here
},
},
];
```
Or you can install components individually
```javascript
import base from "@omer-x/eslint-config/base";
import stylistic from "@omer-x/eslint-config/stylistic";
import typescript from "@omer-x/eslint-config/typescript";
import react from "@omer-x/eslint-config/react";
import jsxAccessibility from "@omer-x/eslint-config/jsx-a11y";
import importPlugin from "@omer-x/eslint-config/import";
import unusedImports from "@omer-x/eslint-config/unused-imports";
export default [
...base,
...stylistic,
...typescript,
...react,
...jsxAccessibility,
...importPlugin,
...unusedImports,
{
rules: {
// add your other rules here
},
},
];
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.