diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0b2f977..48a99a3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -4,10 +4,9 @@ on: branches: - main jobs: - size: + editorconfig: runs-on: ubuntu-latest name: Checking editorconfig - if: "!contains(github.event.head_commit.message, '[ci skip]')" env: CI_JOB_NUMBER: 1 steps: @@ -18,7 +17,6 @@ jobs: package-json: runs-on: ubuntu-latest name: Checking package.json files - if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - name: Checkout the repository uses: actions/checkout@v2 @@ -34,5 +32,4 @@ jobs: - name: Install dependencies run: pnpm install - name: Check package.json files - if: success() run: pnpm lint:package-json diff --git a/packages/eslint-config/src/rules/es6.js b/packages/eslint-config/src/rules/es6.js index ba51844..7fc570f 100644 --- a/packages/eslint-config/src/rules/es6.js +++ b/packages/eslint-config/src/rules/es6.js @@ -45,7 +45,8 @@ module.exports = { js: 'never', jsx: 'never', ts: 'never', - tsx: 'never' + tsx: 'never', + json: 'always' } ], 'import/order': [