@wkovacs64/eslint-config
v7.4.0
Published
@wKovacs64 ESLint config
Downloads
3,720
Maintainers
Readme
@wkovacs64/eslint-config
This is my personal ESLint configuration.
Install
npm install --save-dev @wkovacs64/eslint-config
Be sure to install the appropriately versioned
eslint
peer dependency as well.
Usage
Follow the ESLint documentation on shared configurations. See the documentation on ignoring files if you need to ignore anything the config doesn't already ignore by default.
Examples
eslint.config.js
import baseConfig from '@wkovacs64/eslint-config';
/** @type {import("eslint").Linter.FlatConfig[]} */
const config = [
...baseConfig,
// overrides here
];
export default config;
package.json
{
"scripts": {
...
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
...
}
}