Skip to content

Commit

Permalink
Merge pull request #611 from Deltares-research/dependabot/npm_and_yar…
Browse files Browse the repository at this point in the history
…n/eslint-9.17.0

chore(deps-dev): bump eslint from 8.57.0 to 9.17.0
  • Loading branch information
velomovies authored Jan 10, 2025
2 parents 936123a + 401fbc7 commit d16dcfa
Show file tree
Hide file tree
Showing 15 changed files with 331 additions and 215 deletions.
22 changes: 0 additions & 22 deletions .eslintrc.cjs

This file was deleted.

27 changes: 27 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import js from "@eslint/js";
import vue from "eslint-plugin-vue";
import cypress from "eslint-plugin-cypress/flat";

import globals from "globals";

export default [
js.configs.recommended,
...vue.configs["flat/essential"],
cypress.configs.recommended,
{
files: ["**/*.vue", "**/*.js", "**/*.jsx", "**/*.cjs", "**/*.mjs"],
languageOptions: {
ecmaVersion: "latest",
globals: {
...globals.browser,
...globals.node,
},
},
rules: {
"cypress/no-unnecessary-waiting": 0,
"cypress/unsafe-to-chain-command": 0,
"no-unused-vars": 1,
"vue/no-mutating-props": 0,
},
},
];
Loading

0 comments on commit d16dcfa

Please sign in to comment.