https://github.com/limpix31/plugin-layout
https://github.com/limpix31/plugin-layout
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/limpix31/plugin-layout
- Owner: LIMPIX31
- License: bsd-3-clause
- Created: 2023-08-25T19:04:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T14:03:16.000Z (over 2 years ago)
- Last Synced: 2025-04-10T00:38:16.031Z (over 1 year ago)
- Language: TypeScript
- Size: 5.11 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Plugin Layout - Table imports prettier plugin
##### Import sorting partially supported via patched `eslint-plugin-simple-import-sort`
### Turn this
```ts
import React, { useState, useCallback } from 'react'
import { useSomeLogic, configurate } from 'pkg'
import * as lodash from 'lodash'
import { writeFile, readFile, readdir } from 'node:fs'
import type { ButtonProps } from './button.interface'
import type { InputProps } from './input.interface'
import { type FC } from 'react'
```
### Into this
```ts
import React from 'react'
import { useCallback } from 'react'
import { useState } from 'react'
import type { FC } from 'react'
import { readdir } from 'node:fs'
import { readFile } from 'node:fs'
import { writeFile } from 'node:fs'
import * as lodash from 'lodash'
import { configurate } from 'pkg'
import { useSomeLogic } from 'pkg'
import type { ButtonProps } from './button.interface'
import type { InputProps } from './input.interface'
```
## Installation
*soon*
## Import sorting configuration
*soon*