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.