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 - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/rules/no-console-time.js

@@ -15,3 +15,3 @@ /**

description: "no console.time()",
category: "Fill me in",
category: "Fill something",
recommended: false

@@ -18,0 +18,0 @@ },

/**
* @author Toru Nagashima <https://github.com/mysticatea>
* See LICENSE file in root directory for full license.
* @fileoverview no Object.values()
* @author Allan91
*/

@@ -5,0 +5,0 @@ "use strict"

{
"name": "eslint-plugin-demofortutorial",
"version": "0.0.2",
"description": "no console time",
"version": "0.0.3",
"description": "forbidden something",
"keywords": [

@@ -6,0 +6,0 @@ "eslint",

@@ -6,3 +6,3 @@ # eslint-plugin-demofortutorial

## 本插件用途
在项目禁用 `console.time()` 方法。
在项目禁用 `console.time()` 和 `Object.value()` 方法。

@@ -21,9 +21,13 @@ ## 本插件如何使用?

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

@@ -1,5 +0,1 @@

/**
* @author Toru Nagashima <https://github.com/mysticatea>
* See LICENSE file in root directory for full license.
*/
"use strict"

@@ -6,0 +2,0 @@

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