Skip to content

Commit

Permalink
Merge pull request woocommerce#32713 from woocommerce/fix/e2e-utils-e…
Browse files Browse the repository at this point in the history
…slint-config

Fix/e2e utils eslint config
  • Loading branch information
lanej0 authored Apr 26, 2022
2 parents 61464e1 + 4c243dd commit 58203cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/js/e2e-utils/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
env: {
'jest/globals': true,
Expand Down
4 changes: 4 additions & 0 deletions packages/js/e2e-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Unreleased

## Fixed

- Added the `root: true` flag to `e2e-utils` ESLint config file so that ESLint ignores other ancestor config files when checking that package. This solves a version conflict when running ESLint.

## Added

- `createSimpleDownloadableProduct` component which creates a simple downloadable product, containing four parameters for title, price, download name and download limit.
Expand Down
5 changes: 0 additions & 5 deletions packages/js/e2e-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,5 @@
"build": "pnpm run clean && pnpm run compile",
"prepare": "pnpm run build",
"lint": "eslint src"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
]
}
}

0 comments on commit 58203cf

Please sign in to comment.