
Research
Security News
Malicious npm Packages Target BSC and Ethereum to Drain Crypto Wallets
Socket uncovered four malicious npm packages that exfiltrate up to 85% of a victimβs Ethereum or BSC wallet using obfuscated JavaScript.
eslint-config-hyoban
Advanced tools
Hyoban's ESLint Config, enable most of the recommended rules from the following plugins:
Basic | Style | React | Others |
---|---|---|---|
js β | stylistic β | react β | Tailwind CSS |
ts β | antfu β | hooks β | UnoCSS |
unicorn β | import-sort β | refresh | flat-gitignore β |
i β | jsonc β | jsx-nesting | config-viewer β |
unused-import β | yml | jsx-a11y | @antfu/eslint-config |
n | perfectionist | next β | eslint-types |
compat | format β | package-json β |
To view what rules are enabled:
npx eslint-flat-config-viewer
# my fork (temporary)
npx efcv
ni -D eslint eslint-config-hyoban
eslint.config.js
import hyoban from "eslint-config-hyoban";
export default hyoban();
for cjs
const hyoban = require("eslint-config-hyoban").default;
module.exports = hyoban();
.vscode/settings.json
{
"prettier.enable": false,
"editor.formatOnSave": false,
"eslint.experimental.useFlatConfig": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"mdx",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"github-actions-workflow",
"css"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.rules.customizations": [
{ "rule": "@stylistic/*", "severity": "off" },
{ "rule": "simple-import-sort/*", "severity": "off" },
{ "rule": "import/first", "severity": "off" },
{ "rule": "import/newline-after-import", "severity": "off" },
{ "rule": "import/no-duplicates", "severity": "off" },
{ "rule": "antfu/import-dedupe", "severity": "off" },
{ "rule": "format/prettier", "severity": "off" }
]
}
MIT License Β© 2023-PRESENT Stephen Zhou
FAQs
Hyoban's ESLint Config
We found that eslint-config-hyoban demonstrated a healthy version release cadence and project activity because the last version was released less than 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 uncovered four malicious npm packages that exfiltrate up to 85% of a victimβs Ethereum or BSC wallet using obfuscated JavaScript.
Security News
TC39 advances 9 JavaScript proposals, including Array.fromAsync, Error.isError, and Explicit Resource Management, which are now headed into the ECMAScript spec.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.