7.5.2 • Published 5 months ago

@wkovacs64/eslint-config v7.5.2

Weekly downloads
13
License
MIT
Repository
github
Last release
5 months ago

@wkovacs64/eslint-config

This is my personal ESLint configuration.

npm Version Build Status changesets

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.Config[]} */
const config = [
  ...baseConfig,
  // overrides here
];

export default config;

package.json

{
  "scripts": {
    ...
    "lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
    ...
  }
}