diff --git a/.github/ISSUE_TEMPLATE/1.bug_report.yml b/.github/ISSUE_TEMPLATE/1.bug_report.yml index eb70896d7499a0c978de9f671ede0d33372a87a7..22f51f7bdfc59299a4c570832f9fd5163d9c2927 100644 --- a/.github/ISSUE_TEMPLATE/1.bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1.bug_report.yml @@ -50,7 +50,7 @@ body: Google Chrome 106.0.5249.119 Firefox 105.0.3 - + etc... validations: required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fd62889d051288df31c7635de493a86b321b1204..f5d3196528f92dfab46b9dd75592d9cc3d9d42f0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,4 +2,4 @@ blank_issues_enabled: false contact_links: - name: GitHub Discussions url: https://github.com/mastodon/mastodon/discussions - about: Please ask and answer questions here. \ No newline at end of file + about: Please ask and answer questions here. diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index cd8cb12c457cad7506e71ad1fa7c99fcd771458a..874afc459c838afa7b98a5ed366287acea7bb04c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -57,12 +57,14 @@ jobs: cache: yarn - name: Install dependencies run: yarn install --frozen-lockfile + - name: Check prettier formatting + run: yarn format-check - name: Set-up RuboCop Problem Mathcher uses: r7kamura/rubocop-problem-matchers-action@v1 - name: Set-up Stylelint Problem Matcher uses: xt0rted/stylelint-problem-matcher@v1 # https://github.com/xt0rted/stylelint-problem-matcher/issues/360 - - run: echo "::add-matcher::.github/stylelint-matcher.json" + - run: echo "::add-matcher::.github/stylelint-matcher.json" ################################ # Run Linter against code base # diff --git a/.github/workflows/test-chart.yml b/.github/workflows/test-chart.yml index b9ff808559ee74f71004a54785b2115c398070d4..4d7a278877e29d5d9e1b2ffe2e299711c273745b 100644 --- a/.github/workflows/test-chart.yml +++ b/.github/workflows/test-chart.yml @@ -6,16 +6,16 @@ name: Test chart on: pull_request: paths: - - "chart/**" - - "!**.md" - - ".github/workflows/test-chart.yml" + - 'chart/**' + - '!**.md' + - '.github/workflows/test-chart.yml' push: paths: - - "chart/**" - - "!**.md" - - ".github/workflows/test-chart.yml" + - 'chart/**' + - '!**.md' + - '.github/workflows/test-chart.yml' branches-ignore: - - "dependabot/**" + - 'dependabot/**' workflow_dispatch: permissions: @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: '3.x' - name: Install dependencies (yamllint) run: pip install yamllint diff --git a/jsconfig.json b/jsconfig.json index 7471fb9db9aabbdfbc0dd22e92a4332bc9ab5655..d52816a98b68efb89e30f9795e4bc6bf8ee80e41 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -13,10 +13,5 @@ "strict": false, "target": "ES2022" }, - "exclude": [ - "**/build/*", - "**/node_modules/*", - "**/public/*", - "**/vendor/*" - ] + "exclude": ["**/build/*", "**/node_modules/*", "**/public/*", "**/vendor/*"] } diff --git a/package.json b/package.json index 92520a8c70fe4de3f151ed7b1598c83b429798d8..eecdf83dbe6ed653bc55cc62cc7d6d9df2a3c6ab 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "test:lint:js": "eslint --ext=js . --cache", "test:lint:sass": "stylelint '**/*.scss'", "test:jest": "cross-env NODE_ENV=test jest", - "format": "prettier --write '**/*.{json,yml}'", - "format-check": "prettier --write '**/*.{json,yml}'" + "format": "prettier --write \"**/*.{json,yml}\"", + "format-check": "prettier --check \"**/*.{json,yml}\"" }, "repository": { "type": "git",