@npm-questionpro/eslint-config-backend
v1.0.7
Published
Shareable EsLint config across QuestionPro backend Node.js apps
Readme
eslint-config-backend
This package provides a shared ESLint configuration for QuestionPro backend projects.
Installation
To install the package, run:
npm install --save-dev eslint @npm-questionpro/eslint-config-backendUsage
In your ESLint configuration file (e.g., .eslintrc.json), extend the shared configuration:
{
"extends": "eslint-config-backend"
}Custom Rules
You can override specific rules in your ESLint configuration file:
{
"extends": "eslint-config-backend",
"rules": {
"no-console": "off"
}
}