eslint-plugin-demofortutorial
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7037
32
172