Skip to content

Commit

Permalink
Update Lighthouse and fixes eslint error (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar authored Jul 27, 2023
1 parent d709c00 commit 8ddc3b6
Show file tree
Hide file tree
Showing 4 changed files with 492 additions and 565 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"plugins": ["prettier"],
"extends": ["prettier"],
"env": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"lint-staged": {
"*.js": [
"prettier --print-width 140 --single-quote --parser babylon --write",
"prettier --print-width 140 --single-quote --parser babel --write",
"eslint --fix",
"git add"
],
Expand All @@ -60,6 +60,7 @@
],
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.22.9",
"@babel/node": "^7.14.7",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
Expand All @@ -70,7 +71,6 @@
"@babel/runtime": "^7.14.6",
"abortcontroller-polyfill": "^1.2.3",
"autoprefixer": "10.4.14",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^6.0.0",
"babelify": "^10.0.0",
"backstopjs": "^6.1.4",
Expand Down Expand Up @@ -105,7 +105,7 @@
"jest-axe": "^6.0.0",
"jest-puppeteer": "^6.1.0",
"js-beautify": "^1.11.0",
"lighthouse": "^7.5.0",
"lighthouse": "^10.4.0",
"lint-staged": "^8.1.0",
"lodash": "^4.17.21",
"mdn-polyfills": "^5.14.0",
Expand Down
8 changes: 4 additions & 4 deletions src/components/textarea/example-textarea-error.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"text": "Please provide some feedback",
"description": "For example, describe any difficulties you experienced in the use of this service"
},
"error": {
"id": "feedback-error",
"text": "Enter your feedback"
}
"error": {
"id": "feedback-error",
"text": "Enter your feedback"
}
})
}}
Loading

0 comments on commit 8ddc3b6

Please sign in to comment.