mort icon indicating copy to clipboard operation
mort copied to clipboard

Dead CSS detection

Results 18 mort issues
Sort by recently updated
recently updated
newest added

- [x] Integration test for finding results in ripgrep and gitgrep - [x] Test that we can use mort via stdin - [x] Test line count is displayed for selectors...

``` : echo "non-uk-insurance-hidden" | mort -v Running mort in verbose mode [Verbosity: 1] Scanning undefined ... Done! ~/code/kepler (KEP-9001-create-partial-payment ``` We should reword the 'Scanning...' message if it's from...

For example, given: ``` 0 usages found. #brand-administration-tabs-container can probably be removed. ``` and ``` #brand-administration-tabs-container { position: relative; margin-top: 20px; width: 1179px; } #brand-administration-tabs-container div { width: 150px; }...

Use ronn https://github.com/rtomayko/ronn Look here for inspiration https://github.com/ggreer/the_silver_searcher/tree/master/doc See also https://docs.npmjs.com/files/package.json#man

Using the `string-similarity` package, we can find the similarity between a selector. What I think should happen is: - Go through the file building up a dictionary i.e. { my-selector:...

Sometimes the user might want to omit more than the default `scss` and `css` directories (such as `md` files or other text files) Add this option in, it should be...

Add a command that helps users give me useful information Example ``` mort --debug Node version: x.x.x Mort version: x.x.x OS: Linux Has Ripgrep: true Has gitgrep: true ls -la:...

For example, if it finds something like ``` .img-file-pdf .img-file-css .img-file-jpg .img-file-png .img-file-bmp ``` Maybe it should warn ``` Multiple classes found with prefix '.img-file', is this dynamically generated?` ```...

For example, the following: ``` .my-selector{ } ``` Should come through as something like ``` No rules found for selector .my-selector ``` Perhaps highlight it red?

- [ ] Start counting from the first `{` - [x] Add +1 to the final result, a selector must always have 1 line of code. - [ ] Add...