eslint-plugin-plugintutorial
- 本文用于讲解如何自己开发
eslint
插件以及如何在项目中使用
本插件如何使用?
安装包
npm install eslint-plugin-plugintutorial -D
项目中配置
.eslintrc.js
moduleexports = extends: 'eslint:recommended' 'plugin:eslint-plugin-plugintutorial/recommended' env: node: true browser: true plugins: 'plugintutorial' ;
本插件用途
在项目禁用 console.time()
方法