browsertrix/frontend
Emma Segal-Grossman b5fe5551c5
Ensure linting & formatting runs in CI (#1512)
Makes sure code quality stays high by checking that code is linted &
formatted in CI.

### Reason

Frustration — so that [things like
this](https://github.com/webrecorder/browsertrix-cloud/pull/1500#issuecomment-1920087667)
don't happen in the future. I tried to merge `main` into a branch to get
it up to date with main, and main isn't totally formatted or linted
properly, and then formatting the codebase introduced a whole bunch of
unrelated changes. Running a formatter or linter shouldn't cause
unrelated code changes, and `main` should always be in a correct state
in terms of linting and formatting.

### Testing

- [x] Test run with failing lint checks errors:
https://github.com/webrecorder/browsertrix-cloud/actions/runs/7733354321/job/21085236200
- [x] Test run with failing formatting check errors:
https://github.com/webrecorder/browsertrix-cloud/actions/runs/7733501666/job/21085717519
- [x] Test run with both passing lint & formatting checks passes:
https://github.com/webrecorder/browsertrix-cloud/actions/runs/7733529142/job/21085796727
2024-01-31 18:25:44 -05:00
..
.husky
assets
config Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
patches Fix attribute casing & lit-analyzer issues (#1429) 2023-12-11 12:34:03 -05:00
scripts
src Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
tests Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
xliff revert changes from i18n (will address elsewhere) 2023-11-13 19:36:03 -05:00
.dockerignore
.editorconfig
.eslintrc.js Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
.gitignore
.prettierignore Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
.vscode add vscode config symlink in frontend dir 2023-11-20 16:56:48 -05:00
00-browsertrix-nginx-init.sh
Dockerfile
frontend.conf.template Passthrough X-Forwarded-Proto header in frontend nginx (#1226) 2023-09-28 10:58:57 -07:00
index.d.ts Org settings layout fix + misc styling & consistency improvements (#1427) 2023-12-13 17:29:35 -05:00
lit-localize.json
minio.conf
package.json Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
playwright.config.ts
postcss.config.js Org settings layout fix + misc styling & consistency improvements (#1427) 2023-12-13 17:29:35 -05:00
README.md
sample.env.local
tailwind.config.js Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
tsconfig.eslint.json Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
tsconfig.json Fix attribute casing & lit-analyzer issues (#1429) 2023-12-11 12:34:03 -05:00
web-test-runner.config.mjs Organize components into folders by function (#1411) 2023-11-29 14:12:29 -05:00
webpack.config.js Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
webpack.dev.js build: disable webpack polling for hot reload 2023-09-18 15:14:34 -07:00
webpack.prod.js Improvements to collection creation and editing flow (#1424) 2023-12-19 18:12:43 -08:00
yarn.lock ESLint improvements & Typescript upgrade (#1501) 2024-01-31 14:42:06 -05:00