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