Skip to content

CargoSense/eslint-config

Repository files navigation

eslint-config

Shareable ESLint configuration.

npm Downloads Build

Installation

npm install --save-dev @cargosense/eslint-config

Usage

Using ECMAScript module (ESM) syntax:

// eslint.config.js
export { default } from "@cargosense/eslint-config";

You may also apply this shared configuration to your project's customized configuration:

// eslint.config.js
import config from "@cargosense/eslint-config";

export default [
  ...config,

  {
    "rules": {
      // …
    },
  },
];

Tip

ESLint is extremely customizable. Refer to the documentation for details.

License

eslint-config is freely available under the MIT License.