New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-hyoban

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-hyoban

Hyoban's ESLint Config

  • 0.1.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
564
decreased by-34.95%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-hyoban

npm version npm downloads bundle JSDocs License

Hyoban's ESLint Config, enable most of the recommended rules from the following plugins:

BasicStyleReactOthers
jsstylisticreactTailwind CSS
tsantfuhooksUnoCSS
unicornimport-sortrefreshflat-gitignore
ijsoncjsx-nestingconfig-viewer
unused-importymljsx-a11y@antfu/eslint-config
nperfectionistnexteslint-types
compatformatpackage-json

To view what rules are enabled:

npx eslint-flat-config-viewer

# my fork (temporary)
npx efcv

Usage

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" }
  ]
}

License

MIT License © 2023-PRESENT Stephen Zhou

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc