eslint-plugin-beautiful-sort
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "eslint-plugin-beautiful-sort", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "eslint plugin for imports sort by their type", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# eslint-plugin-beautiful-sort | ||
eslint plugin for imports sort by their type | ||
[![npm](https://img.shields.io/npm/v/eslint-plugin-beautiful-sort)](https://www.npmjs.com/package/eslint-plugin-beautiful-sort) | ||
![build](https://github.com/allohamora/config-manager/actions/workflows/build.yml/badge.svg) | ||
![test](https://github.com/allohamora/config-manager/actions/workflows/test.yml/badge.svg) | ||
![release](https://github.com/allohamora/config-manager/actions/workflows/release.yml/badge.svg) | ||
eslint plugin to sort imports by their type | ||
## Example | ||
@@ -29,2 +34,14 @@ | ||
Disable sorting: | ||
```js | ||
/* eslint-disable beautiful-sort/import */ | ||
import './styles.css'; | ||
import { compose, pipe, curry } from 'src/utils/fp'; | ||
import ApiService, { Options } from './api.service'; | ||
import Link from '../Link'; | ||
import * as utils from 'src/utils'; | ||
import React from 'react'; | ||
``` | ||
## Plugin tested on | ||
@@ -31,0 +48,0 @@ |
56502
99