Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
eslint-config-civicsource
Advanced tools
Shareable ESLint configuration to used in CivicSource client applications
Shareable ESLint configuration to be used in CivicSource client applications
Read more in general about how eslint shareable configurations work.
yarn add eslint-config-civicsource --dev
or
npm install eslint-config-civicsource --save-dev
Add to your .eslintrc.yml
:
extends:
- civicsource
This includes all civicsource rules (except the testing rules). You could also choose to include them individually:
extends:
- civicsource/style
- civicsource/react
- civicsource/imports
The testing rules are not included by default and can be included via:
extends:
- civicsource/mocha
or
extends:
- civicsource/jest
When adding rules or plugins, put them into the correct js file based on category (e.g. add react rules to react.js
). Make sure to add a small comment explaining what the rule does (feel free to be as snarky as possible) along with a link to the rule documentation.
When making changes, be sure to follow semantic versioning.
FAQs
Shareable ESLint configuration to used in CivicSource client applications
The npm package eslint-config-civicsource receives a total of 19 weekly downloads. As such, eslint-config-civicsource popularity was classified as not popular.
We found that eslint-config-civicsource demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.