This package contains a shared ESLint configuration for the Commit Generator project.
To use the ESLint configuration in your project, install the package as a development dependency:
pnpm install --save-dev @commit-generator/eslint-config
After installation, extend the ESLint configuration in your project.
- Create or update your
eslint.config.mjs
file with the following configuration:
import eslintNode from '@commit-generator/eslint-config/node.js';
export default [...eslintNode];
- Customizing the Configuration
If you'd like to customize the configuration, create your own
eslint.config.mjs
and extend the default settings:
import eslintNode from '@commit-generator/eslint-config/node.js';
export default [
...eslintNode,
myConfigs
];
This package is licensed under the MIT License.