Commit graph

41 commits

Author SHA1 Message Date
Mouse Reeve
8a1bfc5ffc Merge branch 'main' into production 2021-04-17 15:29:52 -07: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
Mouse Reeve
d54286b571 Merge branch 'main' into production 2021-04-13 13:12:44 -07:00
Fabien Basmaison
ad3e91db7d Merge branch 'main' into frontend 2021-04-08 09:53:01 +02:00
Mouse Reeve
c33eacaf3d Merge branch 'main' into production 2021-04-07 11:17:16 -07:00
Mouse Reeve
4cea7be771 Gets black back on stable tag 2021-04-07 07:46:15 -07: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
Mouse Reeve
a8052c2dd0 Merge branch 'main' into production 2021-04-04 16:44:46 -07: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
Mouse Reeve
fd91a79558 Merge branch 'main' into production 2021-03-31 15:19:40 -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
4b44ce691e Return activities for existing objs in resolve_remote_id 2021-03-25 06:43:52 -07:00
Mouse Reeve
d8c83fa31c Return activities for existing objs in resolve_remote_id 2021-03-24 12:58:39 -07:00
Mouse Reeve
94d18f6c24 Merge branch 'main' into production 2021-03-20 20:47:53 -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
6c7fcb0dd1 Merge branch 'main' into production 2021-03-08 10:02:46 -08:00
Mouse Reeve
9536f0058a Testing out a Black github action 2021-03-06 13:43:20 -08:00
Fabien Basmaison
4a8d9bee73 [lint] Fix indentation in .md files. 2021-03-04 19:05:01 +01:00
Fabien Basmaison
55ad637da4 Add editorconfig and matching Github Workflow. 2021-03-04 18:40:57 +01:00
Mouse Reeve
ac80df7ee0 Merge branch 'main' into production 2021-02-20 11:25:03 -08:00
Mouse Reeve
5c054cf424
Update FUNDING.yml 2021-02-12 18:03:06 -08:00
Mouse Reeve
00c8fab365 Merge branch 'main' into production 2021-01-27 07:38:58 -08: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
2d21a31c13 Merge branch 'main' into production 2020-12-27 14:45:53 -08:00
Andrew Radev
313e389fc6
Fix typo in Patreon link 2020-12-24 12:56:22 +02:00
Mouse Reeve
d5cc1d2f02 Merge branch 'main' into production 2020-12-11 17:43:40 -08:00
Mouse Reeve
3aba3c8052
Create FUNDING.yml 2020-12-09 15:08:53 -08:00
Mouse Reeve
4171829626 Merge branch 'main' into production 2020-12-02 15:28:01 -08:00
Mouse Reeve
efa5d5ef2c Adds ci test runner 2020-11-27 11:42:25 -08:00
Mouse Reeve
4424acc5c2 Merge branch 'main' into production 2020-11-08 16:27:54 -08:00
Mouse Reeve
da5af56f72
Create codeql-analysis.yml 2020-11-07 21:17:52 -08:00
Mouse Reeve
8dc350e8a1 prod-only configuration 2020-11-05 11:47:40 -08:00
Mouse Reeve
738db165e5 Update issue templates 2020-11-04 17:34:32 -08:00