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

eslint-plugin-demofortutorial

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-demofortutorial

forbidden something

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-demofortutorial

  • 本文用于讲解如何自己开发 eslint 插件以及如何在项目中使用。详细讲解

本插件用途

在项目禁用 console.time()Object.value() 方法。

本插件如何使用?

安装包

npm install eslint-plugin-demofortutorial -D

项目中配置

.eslintrc.js

module.exports = {
    extends: [
        'eslint:recommended',
        'plugin:eslint-plugin-demofortutorial/recommended' // 这里对应的是 eslint 插件中的 configs,如: `recommended`、`no-2017`等,用于集中管理配置多个 `rule` 规则
    ],
    plugins: [
        'demofortutorial' // 省略 `eslint-plugin-` 前缀
    ],
    // rules 中对应 eslint 插件中的 `rules`,不同于上面 extends、可以单独配置某一条 `rule` 规则
    // rules: {
    //     "demofortutorial/no-object-values": "error"
    // }
};

Keywords

FAQs

Package last updated on 26 Feb 2020

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