
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
eslint-config-policygenius
Advanced tools
This package provides Policygenius' .eslintrc as an extensible shared config
This package provides Policygenius' .eslintrc as an extensible shared config.
Install the configuration
yarn add --dev eslint-config-policygenius
Extend your Eslint configuration with policygenius
{
"extends": "policygenius",
"rules": {
// place any overrides here
}
}
This config exposes a base configuration along with individual configurations to suit your needs. Each configuration is extended from the recommended
rules for the respective plugins.
To use an individual configuration, extend your Eslint configuration as follows
{
"extends": "policygenius/{config-name}"
}
There are individual configs for the following:
The base configuration already includes the following:
You can choose to use the base only, base + individual config or just use the individual configs for the most customization.
As an example, if you want to use the base config plus the react configs, you would extend your Eslint config as follows:
{
"extends": [
"policygenius",
"policygenius/react"
]
}
Please be sure to have the following installed when using this config.
eslint >= 8
eslint-plugin-react@7.28.0
eslint-plugin-jsx-a11y@6.5.1
eslint-plugin-import@2.25.4
eslint-plugin-jest@26.0.0
eslint-plugin-prettier@4.0.0
node >=16.18.0
@typescript-eslint/parser@^6.1.0
@typescript-eslint/eslint-plugin@^6.1.0
FAQs
This package provides Policygenius' .eslintrc as an extensible shared config
The npm package eslint-config-policygenius receives a total of 298 weekly downloads. As such, eslint-config-policygenius popularity was classified as not popular.
We found that eslint-config-policygenius demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 58 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.