FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Migrate stylelintrc to stylint.config.js

Open ChunkyProgrammer opened this issue 9 months ago • 0 comments

Migrate stylelintrc to stylint.config.js

Pull Request Type

  • [x] Other - maintenance/dev chore

Description

This PR migrates the stylelintrc file to a stylelint.config.mjs file. This is now the recommended format for stylelint. https://stylelint.io/user-guide/configure/

We can and probably should still use the .stylelintignore file. See the note here: https://stylelint.io/user-guide/configure/#ignorefiles

Testing

  • make a stylelint "error" in a css and scss file. ex: add a width property instead of inset-size
  • run yarn run lint-style and make sure the error shows

Desktop

  • OS: Fedora Linux
  • OS Version: 41 KDE
  • FreeTube version: latest nightly

ChunkyProgrammer avatar Feb 22 '25 01:02 ChunkyProgrammer