Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(frontend): add Biome formatter #5485

Merged
merged 18 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

327 changes: 0 additions & 327 deletions .eslintrc.js

This file was deleted.

8 changes: 5 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@
/webpack/ @magicznyleszek @p2edwards
/.babelrc.json @magicznyleszek @p2edwards
/.browserslistrc @magicznyleszek @p2edwards
/.eslintignore @magicznyleszek @p2edwards
/.eslintrc.js @magicznyleszek @p2edwards
/.node-version @magicznyleszek @p2edwards
/.nvmrc @magicznyleszek @p2edwards
/.prettierrc.js @magicznyleszek @p2edwards
/.stylelintrc.js @magicznyleszek @p2edwards
/.swcrc @magicznyleszek @p2edwards
/.coffeelint.json @magicznyleszek @p2edwards
/biome.jsonc @Akuukis
/eslint.config.mjs @Akuukis
/package-lock.json @magicznyleszek @p2edwards
/package.json @magicznyleszek @p2edwards
/tsconfig.json @magicznyleszek @p2edwards
Expand Down Expand Up @@ -93,6 +92,7 @@ _registration.scss @magicznyleszek @p2edwards

/docker/ @olive-KTB @jnm @noliveleger
/scripts/ @olive-KTB @jnm @noliveleger
/scripts/eslintBiome.mjs @Akuukis
/scripts/*.js @magicznyleszek @p2edwards
/.github/ @olive-KTB @jnm @noliveleger @magicznyleszek
/.github/workflows/npm-test.yml @magicznyleszek @p2edwards
Expand All @@ -104,6 +104,8 @@ _registration.scss @magicznyleszek @p2edwards

################
#### Documentation section
/CODING_STYLE_BE.md @noliveleger
/CODING_STYLE_FE.md @Akuukis @magicznyleszek
/CONTRIBUTING.md @Akuukis @magicznyleszek @noliveleger
/README.md @Akuukis @jnm @magicznyleszek @noliveleger
/.github/CODEOWNERS @Akuukis @jnm @noliveleger @magicznyleszek
Expand Down
12 changes: 6 additions & 6 deletions .github/filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ pytest:
- '.github/workflows/pytest.yml' # ci

npm-test:
- '{jsapp,test,webpack,static,scripts}/**/*.!(md|py|sh|bash)' # frontend
- '{package*.json,patches/*.patch,scripts/copy_fonts.py}' # npm + postinstall
- '{tsconfig.json,.swcrc,.babelrc*,.browserslistrc}' # compilers
- '{.editorconfig,.prettier*,.stylelint*,.eslint*,coffeelint*}' # linters
- '.gitignore' # (can affect tools)
- '.github/workflows/npm-test.yml' # ci
- '{jsapp,test,webpack,static,scripts}/**/*.!(md|py|sh|bash)' # frontend
- '{package*.json,patches/*.patch,scripts/copy_fonts.py}' # npm + postinstall
- '{tsconfig.json,.swcrc,.babelrc*,.browserslistrc}' # compilers
- '{.editorconfig,.stylelint*,.eslint*,coffeelint*,biome.jsonc}' # linters
- '.gitignore' # (can affect tools)
- '.github/workflows/npm-test.yml' # ci
4 changes: 2 additions & 2 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:

# Check for TypeScript errors
- name: Check TypeScript
run: npm run check-types
run: npm run lint:types

# Check for ESLint messages (errors only)
- name: Check ESLint, errors only
run: npm run lint -- --quiet
run: npm run lint:eslint -- --quiet

# Run the Unit test suite (formbuilder and helpers)
- name: Run unit tests and xlform tests
Expand Down
Loading