Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@evan-yang/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evan-yang/eslint-plugin

My eslint plugin

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
299
increased by4.18%
Maintainers
1
Weekly downloads
 
Created
Source

@evan-yang/eslint-config

My ESLint config preset.

Usage

install

pnpm add -D eslint @evan-yang/eslint-config

Config .eslintrc

{
  "extends":"@evan-yang",
   "rules": {}
}

Add script for package.json

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

Auto Fix

.vscode/settings.json

{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Packages

  • eslint-config: default config preset
  • eslint-plugin:
    • esnext: basic config
    • vue: vue support
    • react: react support
    • next: default config + next eslint config
    • json: parse json + package.json sort
    • yml: parse yml
    • typescript: typescript support
    • typescript-type-checking: typescript type checking

Development

# install pnpm
npm i -g pnpm

# install deps
pnpm i

# run release script
pnpm release

# lint
pnpm lint
pnpm lint:fix

License

MIT License © 2022 mohen

Keywords

FAQs

Package last updated on 23 Mar 2023

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