Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.33 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.33 KB

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.