Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-raine
Advanced tools
Raine's personal eslint configuration
https://eslint.org/docs/developer-guide/shareable-configs
Install eslint-config-raine
with eslint plugins:
npm install --save-dev eslint-config-raine eslint eslint-config-standard eslint-plugin-import eslint-plugin-jsdoc eslint-plugin-n eslint-plugin-promise
"eslintConfig": {
"extends": [
"raine"
]
}
or
{
"extends": "raine"
}
These rules will automatically be used when you extend the config as shown above:
{
"env": {
"browser": true,
"es6": true,
"mocha": true,
"jest": true
},
"extends": [
"standard"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"jsdoc"
],
"rules": {
"arrow-parens": [
2,
"as-needed"
],
"brace-style": [
2,
"stroustrup"
],
"comma-dangle": [
2,
{
"arrays": "only-multiline",
"objects": "only-multiline",
"imports": "always-multiline",
"exports": "always-multiline"
}
],
"generator-star-spacing": [
2,
{
"before": false,
"after": true
}
],
"indent": [
2,
2,
{
"flatTernaryExpressions": true
}
],
"multiline-ternary": 0,
"no-extra-parens": [
2,
"all",
{
"nestedBinaryExpressions": false
}
],
"no-var": 2,
"object-curly-newline": 0,
"object-property-newline": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"quotes": [
2,
"single",
{
"allowTemplateLiterals": true
}
],
"space-before-function-paren": 0,
"yield-star-spacing": [
2,
{
"before": false,
"after": true
}
],
"jsdoc/check-alignment": 2,
"jsdoc/check-indentation": 2,
"jsdoc/check-syntax": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/implements-on-classes": 2,
"jsdoc/no-types": 2,
"jsdoc/no-undefined-types": 2
}
}
FAQs
Raine's personal eslint configuration
The npm package eslint-config-raine receives a total of 26 weekly downloads. As such, eslint-config-raine popularity was classified as not popular.
We found that eslint-config-raine 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.