Mouse Reeve
cfc1302b23
Fixes spacing
2022-02-16 17:53:03 -08:00
Mouse Reeve
954e914638
Linebreaks? who knows.
2022-02-16 17:50:30 -08:00
Mouse Reeve
7afb5bc493
Stylelint needs libraries
2022-02-16 17:47:58 -08:00
Mouse Reeve
862b6f49bd
Correct npm package names
2022-02-16 17:45:04 -08:00
Mouse Reeve
c054ccc84b
Try ci with yarn instead of npx
2022-02-16 17:36:44 -08:00
Mouse Reeve
9038afd7f1
Changes npm install
2022-02-16 13:16:05 -08:00
Mouse Reeve
c1853e03ab
Updates stylelint command
2022-02-16 13:14:48 -08:00
Mouse Reeve
c19b9d7575
Updates stylelintrc filename and removes yarn
2022-02-15 12:46:28 -08:00
Mouse Reeve
450d4cdace
Try using npx instead of yarn for stylelint
2022-02-15 12:39:14 -08:00
Mouse Reeve
7ff1ad7c83
Try again with yarn added as separate step
2022-02-15 12:37:28 -08:00
Mouse Reeve
4428c0f14d
Remoes yarn line
2022-02-15 12:34:28 -08:00
Mouse Reeve
09978fc195
Tries npm install with yarn
2022-02-15 12:29:59 -08:00
Mouse Reeve
714bb081ea
Updates workflows
2022-02-15 12:25:35 -08:00
Mouse Reeve
30ad3bba0b
Suggest stylelint --fix in CI and add to bw-dev
2022-02-12 09:00:38 -08:00
Fabien Basmaison
b2b5ee5a22
[lint] Tweak editorconfig and frontend lint:
...
- Ignore computer generated files when linting.
- Include .mo files for consistency.
- Use multiline yaml syntax for `run` commands.
2021-04-17 12:39:57 +02:00
Fabien Basmaison
27e47b0a35
[lint] Update context for linting frontend files:
...
- Lint files when pushing on the _frontend_ branch.
- Lint files when eslint or stylelint config files are updated.
- Use _strict_ parsing of JS files by default. This should make the JS linting test to fail.
2021-04-05 16:35:09 +02:00
Fabien Basmaison
cbed5e331b
[assets] Move some frontend assets to _vendor_ directories:
...
This simplifies linting of files we have no grasp on, and clarifies responsibilities.
- Add .eslintignore.
- Restrict linting to bookwyrm/static.
2021-04-05 16:17:11 +02:00
Fabien Basmaison
54ae4d9e44
Rename some Github Actions files for consistency.
2021-03-31 18:02:11 +02:00