1.1.24 • Published 6 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
6 months ago
1.1.23
6 months ago
1.1.22
6 months ago
1.1.21
6 months ago
1.1.20
6 months ago
1.1.19
6 months ago
1.1.18
6 months ago
1.1.17
6 months ago
1.1.16
6 months ago
1.1.15
6 months ago
1.1.14
6 months ago
1.1.13
6 months ago
1.1.12
6 months ago
1.1.11
6 months ago
1.1.10
6 months ago
1.1.9
6 months ago
1.1.8
6 months ago
1.1.7
6 months ago
1.1.6
6 months ago
1.1.5
6 months ago
1.1.4
6 months ago