New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1.0 to 0.1.1

2

package.json
{
"name": "eslint-plugin-demofortutorial",
"version": "0.1.0",
"version": "0.1.1",
"description": "no console time",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,51 +0,27 @@

# eslint-plugin-demo
# eslint-plugin-demofortutorial
no console time
* 本文用于讲解如何自己开发 eslint 插件以及如何在项目中使用。[详细讲解](todo)
## Installation
## 本插件用途
在项目禁用 `console.time()` 方法。
You'll first need to install [ESLint](http://eslint.org):
## 本插件如何使用?
安装包
```
$ npm i eslint --save-dev
npm install eslint-plugin-demofortutorial -D
```
Next, install `eslint-plugin-demo`:
## 项目中配置
`.eslintrc.js`
```
$ npm install eslint-plugin-demo --save-dev
```
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-demo` globally.
## Usage
Add `demo` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"demo"
module.exports = {
extends: [
'eslint:recommended',
'plugin:eslint-plugin-demofortutorial/recommended'
],
plugins: [
'demofortutorial'
]
}
};
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"demo/rule-name": 2
}
}
```
## Supported Rules
* Fill in provided rules here
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