-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Snyk] Fix for 2 vulnerabilities (#1424)
* fix: solution/ui/regulations/package.json & solution/ui/regulations/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106 * chore: upgrade versions to latest compatible and stable versions * chore: use ESLint 9.0 flat config * chore: update Prettier and add to updated ESLint * chore: remove airbnb ESLint config --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Phil Reese <philr8@gmail.com>
- Loading branch information
1 parent
074d4f4
commit 0f454f5
Showing
6 changed files
with
540 additions
and
768 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// eslint.config.js | ||
import pluginVue from "eslint-plugin-vue"; | ||
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended"; | ||
|
||
export default [ | ||
...pluginVue.configs["flat/recommended"], | ||
{ | ||
rules: { | ||
eqeqeq: "off", | ||
"import/no-unresolved": "off", | ||
"import/first": "off", | ||
"no-console": ["error", { allow: ["warn", "error"] }], | ||
"no-nested-ternary": "off", | ||
"prefer-template": "off", | ||
"vue/html-indent": ["error", 4], | ||
"vue/order-in-components": "off", | ||
"vue/max-attributes-per-line": [ | ||
"error", | ||
{ | ||
singleline: { | ||
max: 2, | ||
}, | ||
multiline: { | ||
max: 1, | ||
}, | ||
}, | ||
], | ||
"vue/multi-word-component-names": "off", | ||
"vue/no-multiple-template-root": "off", | ||
"vue/no-v-html": "off", | ||
}, | ||
}, | ||
eslintPluginPrettierRecommended, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.