This repository contains the standard ESLint shareable configuration for CNCSC projects.
You can reference this config by installing the NPM package in your project:
npm install --save-dev @cncsc/eslint-config
Then update the project's .eslintrc.json
file to extend this configuration:
For JavaScript projects:
{
"extends": "@cncsc/eslint-config"
}
For TypeScript projects:
{
"extends": "@cncsc/eslint-config/typescript"
}
You can overwrite settings defined in this configuration by specifying them in your project's .eslintrc.json
.