This package provides a shared ESLint configuration for QuestionPro backend projects.
To install the package, run:
npm install --save-dev eslint @npm-questionpro/eslint-config-backend
In your ESLint configuration file (e.g., .eslintrc.json
), extend the shared configuration:
{
"extends": "eslint-config-backend"
}
You can override specific rules in your ESLint configuration file:
{
"extends": "eslint-config-backend",
"rules": {
"no-console": "off"
}
}