2.1.5 • Published 1 year ago
@biem/eslint-config v2.1.5
@biem/eslint-config
A modern, shareable ESLint configuration by Biem, designed to enhance code quality and maintain consistency across JavaScript and TypeScript projects. Built using ESLint's flat config format, it leverages industry-leading plugins and best practices to provide a robust linting foundation for your applications.
Installation
To add @biem/eslint-config to your project:
Using npm:
npm install @biem/eslint-config --save-devUsing Yarn:
yarn add @biem/eslint-config --devUsage
To use this configuration, create an eslint.config.js file in your project root and add the following:
import config from "@biem/eslint-config";
export default [
...config,
];Overriding rules
You can override or extend the rules in your project by appending custom configurations to the eslint.config.js file:
import config from "@biem/eslint-config";
export default [
...config,
{
rules: {
"no-unused-vars": "warn", // Example override
},
},
];License
Distributed under the MIT License. See LICENSE for more details.