
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
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 347 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.