Skip to content

Commit

Permalink
Merge pull request #116 from per1234/dependabot/npm_and_yarn/eslint-p…
Browse files Browse the repository at this point in the history
…lugin-jsonc-2.13.0

Bump eslint-plugin-jsonc from 2.12.2 to 2.13.0
  • Loading branch information
per1234 authored Jan 24, 2024
2 parents 01c98a8 + 40a69be commit be310aa
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 10 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,26 @@ jobs:
location: ${{ runner.temp }}/json-schema
file-name: jscpd-schema.json

# This schema is referenced by the package.json schema, so must also be accessible.
- name: Download JSON schema for Prettier configuration file
id: download-npm-badges-schema
uses: carlosperate/download-file-action@v2
with:
# See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/npm-badges.json
file-url: https://json.schemastore.org/npm-badges.json
location: ${{ runner.temp }}/json-schema
file-name: npm-badges-schema.json

# This schema is referenced by the package.json schema, so must also be accessible.
- name: Download JSON schema for ESLint plugins
id: download-partial-eslint-plugins-schema
uses: carlosperate/download-file-action@v2
with:
# See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/partial-eslint-plugins.json
file-url: https://json.schemastore.org/partial-eslint-plugins.json
location: ${{ runner.temp }}/json-schema
file-name: partial-eslint-plugins.json

# This schema is referenced by the package.json schema, so must also be accessible.
- name: Download JSON schema for Prettier configuration file
id: download-prettierrc-schema
Expand Down Expand Up @@ -114,6 +134,8 @@ jobs:
-r "${{ steps.download-ava-schema.outputs.file-path }}" \
-r "${{ steps.download-eslintrc-schema.outputs.file-path }}" \
-r "${{ steps.download-jscpd-schema.outputs.file-path }}" \
-r "${{ steps.download-npm-badges-schema.outputs.file-path }}" \
-r "${{ steps.download-partial-eslint-plugins-schema.outputs.file-path }}" \
-r "${{ steps.download-prettierrc-schema.outputs.file-path }}" \
-r "${{ steps.download-semantic-release-schema.outputs.file-path }}" \
-r "${{ steps.download-stylelintrc-schema.outputs.file-path }}" \
Expand Down
53 changes: 44 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsonc": "^2.12.2"
"eslint-plugin-jsonc": "^2.13.0"
},
"scripts": {
"lint": "eslint --ext .js,.jsx ."
Expand Down
22 changes: 22 additions & 0 deletions workflow-templates/check-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,26 @@ jobs:
location: ${{ runner.temp }}/json-schema
file-name: jscpd-schema.json

# This schema is referenced by the package.json schema, so must also be accessible.
- name: Download JSON schema for Prettier configuration file
id: download-npm-badges-schema
uses: carlosperate/download-file-action@v2
with:
# See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/npm-badges.json
file-url: https://json.schemastore.org/npm-badges.json
location: ${{ runner.temp }}/json-schema
file-name: npm-badges-schema.json

# This schema is referenced by the package.json schema, so must also be accessible.
- name: Download JSON schema for ESLint plugins
id: download-partial-eslint-plugins-schema
uses: carlosperate/download-file-action@v2
with:
# See: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/partial-eslint-plugins.json
file-url: https://json.schemastore.org/partial-eslint-plugins.json
location: ${{ runner.temp }}/json-schema
file-name: partial-eslint-plugins.json

# This schema is referenced by the package.json schema, so must also be accessible.
- name: Download JSON schema for Prettier configuration file
id: download-prettierrc-schema
Expand Down Expand Up @@ -114,6 +134,8 @@ jobs:
-r "${{ steps.download-ava-schema.outputs.file-path }}" \
-r "${{ steps.download-eslintrc-schema.outputs.file-path }}" \
-r "${{ steps.download-jscpd-schema.outputs.file-path }}" \
-r "${{ steps.download-npm-badges-schema.outputs.file-path }}" \
-r "${{ steps.download-partial-eslint-plugins-schema.outputs.file-path }}" \
-r "${{ steps.download-prettierrc-schema.outputs.file-path }}" \
-r "${{ steps.download-semantic-release-schema.outputs.file-path }}" \
-r "${{ steps.download-stylelintrc-schema.outputs.file-path }}" \
Expand Down

0 comments on commit be310aa

Please sign in to comment.