Skip to content

Commit

Permalink
fix(eslint-config): fix import/extensions for json
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Feb 7, 2022
1 parent ab0c0eb commit 6d0627a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -34,5 +32,4 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Check package.json files
if: success()
run: pnpm lint:package-json
3 changes: 2 additions & 1 deletion packages/eslint-config/src/rules/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ module.exports = {
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never'
tsx: 'never',
json: 'always'
}
],
'import/order': [
Expand Down

0 comments on commit 6d0627a

Please sign in to comment.