├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── .release-it.json ├── README.md ├── fixtures ├── combine │ ├── input.js │ └── output.js ├── const │ ├── input.js │ └── output.js ├── destructure │ ├── input.js │ └── output.js ├── enum │ ├── input.ts │ └── output.ts ├── eslint.config.js ├── export │ ├── input.js │ └── output.js ├── file.js ├── file.ts ├── function │ ├── input.js │ └── output.js ├── import │ ├── input.js │ └── output.js └── try-catch │ ├── input.js │ └── output.js ├── index.js ├── license ├── package.json ├── pnpm-lock.yaml └── test └── matrix.test.js /.gitignore: -------------------------------------------------------------------------------- 1 | .npmrc 2 | node_modules 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | fixtures -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/.release-it.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/README.md -------------------------------------------------------------------------------- /fixtures/combine/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/combine/input.js -------------------------------------------------------------------------------- /fixtures/combine/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/combine/output.js -------------------------------------------------------------------------------- /fixtures/const/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/const/input.js -------------------------------------------------------------------------------- /fixtures/const/output.js: -------------------------------------------------------------------------------- 1 | export const b = 2; -------------------------------------------------------------------------------- /fixtures/destructure/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/destructure/input.js -------------------------------------------------------------------------------- /fixtures/destructure/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/destructure/output.js -------------------------------------------------------------------------------- /fixtures/enum/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/enum/input.ts -------------------------------------------------------------------------------- /fixtures/enum/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/enum/output.ts -------------------------------------------------------------------------------- /fixtures/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/eslint.config.js -------------------------------------------------------------------------------- /fixtures/export/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/export/input.js -------------------------------------------------------------------------------- /fixtures/export/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/export/output.js -------------------------------------------------------------------------------- /fixtures/file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/file.js -------------------------------------------------------------------------------- /fixtures/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/file.ts -------------------------------------------------------------------------------- /fixtures/function/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/function/input.js -------------------------------------------------------------------------------- /fixtures/function/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/function/output.js -------------------------------------------------------------------------------- /fixtures/import/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/import/input.js -------------------------------------------------------------------------------- /fixtures/import/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/import/output.js -------------------------------------------------------------------------------- /fixtures/try-catch/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/try-catch/input.js -------------------------------------------------------------------------------- /fixtures/try-catch/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/fixtures/try-catch/output.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/index.js -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /test/matrix.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/remove-unused-vars/HEAD/test/matrix.test.js --------------------------------------------------------------------------------