2.0.0 • Published 7 months ago
@beacon/eslint-config-node v2.0.0
Beacon ESLint Node Config
This package has shared ESLint configuration, to be used across Beacon Node.js apps and services.
!NOTE This is Node.js config only, there is a separate TypeScript set of linting rules, and does not apply to frontend applications.
Installation
Install the module locally:
yarn add --dev eslint @beacon/eslint-config-nodeAnd then add the config to your eslint.config.js file:
import beaconEslintConfig from '@beacon/eslint-config-node';
export default [
...beaconEslintConfig,
{
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules {
// Add your custom rules here
},
},
];License
Apache2