Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
eslint-config-simplifield
Advanced tools
ESLint configuration at Simplifield.
To use those rules in your projects, first, install it
as a development dependency and than add it to your .eslintrc
file.
It will automatically append the SimpliField rules to your project.
Theses are our own rules but you can require a reconsideration of a rule by creating an issue which name is the rule you wanna change.
See shareable configs documentation for more infos.
Sample .eslintrc
using this plugin:
{
"extends": "eslint-config-simplifield",
"env": {
"node": true,
"mocha": true
},
"globals": {
"require": false,
"describe": false,
"beforeEach": false,
"afterEach": false,
"before": false,
"after": false,
"it": false,
"sinon": false,
"module": false
},
"plugins": [
"mongodb"
]
}
A .eslintrc
for frontend with react & flow:
{
"extends": "eslint-config-simplifield",
"plugins": [ "react", "flowtype" ],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react/jsx-uses-vars": "error",
"react/jsx-uses-react": "error",
"keyword-spacing": ["error", { "before": true }],
"arrow-parens": ["error", "as-needed"],
"operator-linebreak": "off",
"no-mixed-operators": "off",
"newline-per-chained-call": "off",
"indent": "off"
}
}
FAQs
Simplifield Lint rules
The npm package eslint-config-simplifield receives a total of 136 weekly downloads. As such, eslint-config-simplifield popularity was classified as not popular.
We found that eslint-config-simplifield demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.