Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@zonedigital/eslint-config-zone
Advanced tools
This package provides Zone's JavaScript style guide as an extensible shared config.
This package provides Zone's JavaScript style guide as an extensible shared config.
npm i @zonedigital/eslint-config-zone
Add the Zone rules to your eslint config. Be sure to add as the last item.
{
"extends": [..., "@zonedigital/eslint-config-zone"],
// ... project config here, if any ...
}
This config uses eslint-plugin-compat. It lints the browser compatibility of your code via Browserslist (see Zone's browserslist package). Potential browser compatibility issues will be shown as warnings. If you're using babel-env and it is using the same browserslist config to automatically add these polyfills, you can silence the warnings - see Adding polyfills section below.
If for example you are using fetch
and it is not supported by all the browsers in your support matrix then you can add a polyfill. To tell the linter you have done this, add a reference to the polyfill.
FAQs
This package provides Zone's JavaScript style guide as an extensible shared config.
We found that @zonedigital/eslint-config-zone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.