0.1.3 • Published 5 years ago
eslint-plugin-plugintutorial v0.1.3
eslint-plugin-plugintutorial
- 本文用于讲解如何自己开发
eslint
插件以及如何在项目中使用
本插件如何使用?
安装包
npm install eslint-plugin-plugintutorial -D
项目中配置
.eslintrc.js
module.exports = {
extends: [
'eslint:recommended',
'plugin:eslint-plugin-plugintutorial/recommended'
],
env: {
node: true,
browser: true
},
plugins: [
'plugintutorial'
]
};
本插件用途
在项目禁用 console.time()
方法