eslint-config 1.3.0
Install from the command line:
Learn more about npm packages
$ npm install @cargosense/eslint-config@1.3.0
Install via package.json:
"@cargosense/eslint-config": "1.3.0"
About this version
Shareable ESLint configuration.
npm install --save-dev @cargosense/eslint-config
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.
eslint-config is freely available under the MIT License.