@vinsea/eslint-plugin-custom
v1.0.4
Published
my custom eslint plugin
Downloads
6
Readme
eslint-plugin-custom
自定义eslint
规则
Installation
You'll first need to install ESLint:
$ npm i
Usage
$ npm i @vinsea/eslint-plugin-custom -D
module.exports = {
plugins: ['@vinsea/custom'],
rules: {
'@vinsea/custom/object-colon-spacing': 1
}
};
Supported Rules
- 冒号后面需要加一个空格