@wkovacs64/eslint-config
v7.14.0
Published
@wKovacs64 ESLint config
Maintainers
Readme
@wkovacs64/eslint-config
This is my personal ESLint configuration.
Install
npm install --save-dev @wkovacs64/eslint-configBe sure to install the appropriately versioned
eslintpeer 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 { defineConfig } from 'eslint/config';
import baseConfig from '@wkovacs64/eslint-config';
const config = defineConfig([
baseConfig,
{
// your optional overrides here
},
]);
export default config;package.json
{
"scripts": {
...
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
...
}
}