This website requires JavaScript.
Explore
Help
Register
Sign In
m
/
metamask-extension
Watch
1
Star
0
Fork
0
You've already forked metamask-extension
mirror of
https://github.com/kremalicious/metamask-extension.git
synced
2024-11-22 18:00:18 +01:00
Code
09e7f24b2d
metamask-extension
/
.stylelintignore
10 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix stylelint (#8169) * Stylelint: Ignore only top-level directories The `.stylelintignore` entries lacked leading slashes, so most of the UI code was ignored (because it fell under the `ui/app` directory, and `app/` was ignored. The leading slashes ensure only the intended top-level directories are ignored. * Simplify stylelint rules We use the `stylelint-config-standard` rule-set, so most commonly-used stylelint rules are inherited from that. Some of the removed rules were redundant, some of them were more strict than the rules in `standard` and we hadn't been following them in practice, and some were obsolete. * Convert stylelint config to JavaScript JavaScript is a bit easier than JSON to work with, as it allows comments. This was also done to make it easier to merge in the `stylelint-config- standard`, which is also in JavaScript. * Inline `stylelint-config-standard` I intend to go through each of these rules one-by-one, which is easier with all of these rules inlined. Selectively overriding/disabling them would have been messy. * Comment out rules that aren't current working These rules have been temporarily disabled. They will be re-renabled one-by-one as they are fixed. This was done to make it easier to split these changes among separate PRs, as many of the rules require extensive functional changes. * Add `stylelint` to `lint` script `stylelint` is now run as part of the `lint` script. There is also a separate `lint:styles` script for running just `stylelint`.
2020-07-14 21:12:53 +02:00
/app
/development
/dist
/docs
/fonts
/images
/node_modules
/notices
/test
Copy Permalink