FreeTube/src/renderer
Jason 3db6f437c9
Implement Stylelint linting of CSS logical properties (#4023)
* Add Stylelint plugin and rule for evaluating use of logical properties

* Implement stylelint-advised use of logical properties in SCSS files

* Implement stylelint-advised use of logical properties in CSS files

* Implement stylelint linting before each commit to any branch of the repo

* Remove other Stylelint plugins so that we can add them in later one-by-one

After discussing this with the FreeTube team, it seems that we are still undecided on which rules we want to be active, including ones currently enabled. As a stopgap fix, we disabled Stylelint checking in our pre-commit Git hook and our recommended
> freetube@0.19.0 lint-fix
> run-p eslint-fix lint-style-fix command. With this change, we will be using Stylelint in our
> freetube@0.19.0 lint-fix
> run-p eslint-fix lint-style-fix command, while giving us the flexibility to add in additional desired plugins and rules as separate efforts.

* Add video player to .stylelintignore

* Replace non-logical property usage in templates

This is not enforced by the plugin at this time.

* Remove use of logical properties from ft-video-player, & allow empty input when .stylelintignore files are changed

* Update ft-video-player.css to disable use of logical property linter

We want to avoid introducing directionality-specific properties that could muck up the video player.

* Remove redundant/unnecessary scripts in package.json
2023-09-14 08:22:33 +08:00
..
assets Add option to change thumbnail appearance (#3890) 2023-08-31 11:18:52 -04:00
components Implement Stylelint linting of CSS logical properties (#4023) 2023-09-14 08:22:33 +08:00
helpers Fix localization of counts (#4011) 2023-09-12 19:38:36 +02:00
i18n update linters & add stylelint (#3023) 2023-01-03 19:19:41 +01:00
router Local API: Add support for hashtag pages (#3483) 2023-05-13 13:27:41 +02:00
scss-partials Implement Stylelint linting of CSS logical properties (#4023) 2023-09-14 08:22:33 +08:00
store Sort list of external players (#4036) 2023-09-12 19:21:52 +02:00
views Implement Stylelint linting of CSS logical properties (#4023) 2023-09-14 08:22:33 +08:00
App.css Implement Stylelint linting of CSS logical properties (#4023) 2023-09-14 08:22:33 +08:00
App.js Implement right-to-left interface (#3970) 2023-09-09 18:29:26 +02:00
App.vue Implement right-to-left interface (#3970) 2023-09-09 18:29:26 +02:00
main.js Search: Add hashtags to results (#3780) 2023-09-09 18:32:59 +02:00
themes.css Implement Stylelint linting of CSS logical properties (#4023) 2023-09-14 08:22:33 +08:00
videoJS.css Make certain controls non-selectable / non-draggable (#3947) 2023-08-27 08:46:19 +08:00