0.0.1-alpha.1 • Published 12 months ago

@talltotal/eslint-plugin-talltotal v0.0.1-alpha.1

Weekly downloads
82
License
MIT
Repository
github
Last release
12 months ago

talltotal - eslint 插件

rules

import-specifier-newline

类似object-property-newline效果。

import-source-newline

from和来源之间没有注释时,不能有空行。

Installation

$ npm i eslint --save-dev
$ npm install @talltotal/eslint-plugin-talltotal --save-dev

Usage

配置插件

{
    "plugins": [
        "@talltotal/talltotal"
    ]
}

启用规则

{
    "rules": {
        "@talltotal/talltotal/import-specifier-newline": 2,
        "@talltotal/talltotal/import-source-newline": 2,
    }
}

使用推荐配置

{
    "extends": [
        "plugin:@talltotal/talltotal/recommended",
    ]
}
0.0.1-alpha.1

12 months ago

0.0.1-alpha

12 months ago