Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talltotal/eslint-plugin-talltotal
plugin for eslint
https://github.com/talltotal/eslint-plugin-talltotal
eslint eslint-plugin import-specifier-newline
Last synced: 19 days ago
JSON representation
plugin for eslint
- Host: GitHub
- URL: https://github.com/talltotal/eslint-plugin-talltotal
- Owner: talltotal
- License: mit
- Created: 2021-02-05T06:19:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-05T08:25:37.000Z (almost 4 years ago)
- Last Synced: 2024-10-10T18:22:36.510Z (about 1 month ago)
- Topics: eslint, eslint-plugin, import-specifier-newline
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# talltotal - eslint 插件
## `rules`
### `import-specifier-newline`
类似[`object-property-newline`](http://eslint.cn/docs/rules/object-property-newline)效果。### `import-source-newline`
`from`和来源之间没有注释时,不能有空行。## Installation
```
$ npm i eslint --save-dev
$ npm install eslint-plugin-talltotal --save-dev
```## Usage
配置插件
```js
{
"plugins": [
"talltotal"
]
}
```启用规则
```js
{
"rules": {
"talltotal/import-specifier-newline": 2,
"talltotal/import-source-newline": 2,
}
}
```使用推荐配置
```js
{
"extends": [
"plugin:talltotal/recommended",
]
}
```