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
Mouse Reeve
24925dae82
Temporary fix while issues with Black's release tags get resolved
...
https://github.com/psf/black/issues/2079
2021-04-02 17:18:42 -07:00
Fabien Basmaison
54ae4d9e44
Rename some Github Actions files for consistency.
2021-03-31 18:02:11 +02:00
Fabien Basmaison
99fd5c4e17
Tweak Github Actions:
...
- Rename some jobs for consistency.
- Add workflows path to trigger lint when updating workflows.
- Simplify frontend actions to speed up process and reduce dependencies.
2021-03-31 17:59:52 +02:00
Fabien Basmaison
53f03457cc
Add linter for JS files with basic recommended rules:
...
- Add Github Action.
- Fix JS files to match rules; mostly `globals` and `exported`.
2021-03-31 17:07:28 +02:00
Fabien Basmaison
cc01105bf0
Add linter for CSS files:
...
- Add Github Action.
- Update .gitignore.
- Add .stylelintignore for vendor related files.
- Fix format.css to match rules (includes hacks with @todo).
2021-03-31 16:17:05 +02:00
Mouse Reeve
d8c83fa31c
Return activities for existing objs in resolve_remote_id
2021-03-24 12:58:39 -07:00
Fabien Basmaison
fa79070b59
[lint] Update editorconfig linting:
...
- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
2021-03-20 16:33:18 +01:00
Fabien Basmaison
5c5fc98118
[lint] Trying out new syntax for vendor file.
2021-03-20 16:19:20 +01:00
Fabien Basmaison
e81ae2df9b
Rename linters to be less ambiguous.
2021-03-20 16:13:19 +01:00
Fabien Basmaison
e3cd09930b
[lint] Exclude JS vendor file and show all errors.
2021-03-20 16:00:37 +01:00
Fabien Basmaison
b9a61162d7
Merge branch 'main' into ci
2021-03-20 15:26:51 +01:00
Mouse Reeve
9536f0058a
Testing out a Black github action
2021-03-06 13:43:20 -08:00
Fabien Basmaison
55ad637da4
Add editorconfig and matching Github Workflow.
2021-03-04 18:40:57 +01:00
Joel Bradshaw
1ea8ea0c26
Temp commit to make test run verbose, to see what's happening
2021-01-17 20:31:42 -08:00
Mouse Reeve
efa5d5ef2c
Adds ci test runner
2020-11-27 11:42:25 -08:00
Mouse Reeve
da5af56f72
Create codeql-analysis.yml
2020-11-07 21:17:52 -08:00