Skip to content

Commit

Permalink
Merge pull request #25 from 10up/fix/eslint
Browse files Browse the repository at this point in the history
Install a different version of `eslint-plugin-prettier` only in our eslint Action
  • Loading branch information
dkotter authored Oct 18, 2023
2 parents 14d57d7 + 948cd4f commit ce518f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
cache: npm

- name: Install Node dependencies
run: npm ci --omit=optional --force # Using force here to get the proper version of eslint-plugin-prettier installed, as the version @10up/eslint-config requires has a bug.
run: npm ci --omit=optional

- name: Install eslint-plugin-prettier v5.0.0 # Do this to get around a bug in the version that @10up/eslint-config requires.
run: npm install eslint-plugin-prettier@^5.0.0

- name: Get updated JS files
id: changed-files
Expand Down

0 comments on commit ce518f2

Please sign in to comment.