This package contains my favorite ESLint rules, created following this tutorial on ESLint's shareable configs.
Install this package via npm:
npm install @omer-x/eslint-config --save-dev
Ensure you have the following peer dependencies installed:
eslint >= 8
Add the configuration to your ESLint configuration file (e.g., .eslintrc.js
):
module.exports = {
extends: [
"@omer-x/eslint-config",
"@omer-x/eslint-config/typescript" // optional
],
// other configurations...
};
This project is licensed under the MIT License - see the LICENSE file for details.