mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
feat: replace ESLint and JSHint with oxfmt for code style checking and formatting
This commit is contained in:
6
.github/workflows/check-code-style.yml
vendored
6
.github/workflows/check-code-style.yml
vendored
@@ -2,9 +2,11 @@ name: Check code-style
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'packages/**'
|
||||
- 'npm-packages/meteor-installer/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'packages/**'
|
||||
- 'npm-packages/meteor-installer/**'
|
||||
jobs:
|
||||
check-code-style:
|
||||
@@ -15,5 +17,5 @@ jobs:
|
||||
with:
|
||||
node-version: 22.x
|
||||
- run: npm ci
|
||||
- name: Run ESLint@8
|
||||
run: npx eslint@8 "./npm-packages/meteor-installer/**/*.js"
|
||||
- name: Check formatting with oxfmt
|
||||
run: npx oxfmt --check .
|
||||
|
||||
Reference in New Issue
Block a user