1.1.24 • Published 7 months ago
prettier-plugin-import-sorting v1.1.24
prettier-remove-unused-imports
A Prettier plugin to remove unused imports from your code.
Installation
You can install the plugin using Yarn:
yarn add --dev prettier-remove-unused-imports
Setup
Add the plugin to your Prettier configuration:
const unusedImportPlugin = require('prettier-remove-unused-imports');
module.exports = {
plugins: [unusedImportPlugin],
importOrder: [
'<UNKNOWN>',
'^@example/(.*)$',
'^@another-example/(.*)$',
'^example-contexts',
'^example-components',
'^example-utils',
'^example-styles',
'^(.*).svg',
'^(.*).scss',
'^../',
'^./',
],
};
1.1.24
7 months ago
1.1.23
7 months ago
1.1.22
7 months ago
1.1.21
7 months ago
1.1.20
7 months ago
1.1.19
7 months ago
1.1.18
7 months ago
1.1.17
7 months ago
1.1.16
7 months ago
1.1.15
7 months ago
1.1.14
7 months ago
1.1.13
7 months ago
1.1.12
7 months ago
1.1.11
7 months ago
1.1.10
7 months ago
1.1.9
7 months ago
1.1.8
7 months ago
1.1.7
7 months ago
1.1.6
7 months ago
1.1.5
7 months ago
1.1.4
7 months ago