Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
eslint-config-hardcore-fp
Advanced tools
Hardcore ESLint Shareable Config for functional programming
hardcore/fp
config{
- "extends": ["hardcore-fp"]
+ "extends": ["hardcore", "hardcore/fp"]
}
Shareable Configs
are designed to work with the extends
feature of .eslintrc
files.
This config extends the hardcore config and adds rules from eslint-plugin-fp.
This config is designed to be compatible with Douglas Crockford's JSLint.
Rules | Total | Enabled |
---|---|---|
ESLint | 264 | 241 |
eslint-plugin-promise | 14 | 11 |
eslint-plugin-security | 13 | 12 |
eslint-plugin-import | 40 | 32 |
eslint-plugin-unicorn | 43 | 36 |
eslint-plugin-array-func | 6 | 6 |
eslint-plugin-optimize-regex | 1 | 1 |
eslint-plugin-sonarjs | 25 | 24 |
eslint-plugin-fp | 17 | 15 |
Total | 423 | 378 |
First run this:
npm install eslint-config-hardcore-fp --save-dev
Then, add "extends": "hardcore-fp"
to your .eslintrc file and specify your
environments:
{
"extends": "hardcore-fp",
"env": {
"node": true,
"browser": true
}
}
Note: We omitted the eslint-config-
prefix since it is automatically assumed
by ESLint.
You can override settings from the shareable config by adding them directly into
your .eslintrc
file:
{
"extends": "hardcore-fp",
"env": {
"node": true,
"browser": true
},
"rules": {
"no-console": "off"
}
}
FAQs
Hardcore ESLint Shareable Config for functional programming
We found that eslint-config-hardcore-fp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.