Skip to content

Commit

Permalink
feat: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoPascoli committed Jan 24, 2025
1 parent 63036b8 commit 46ffe93
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17,319 deletions.
1 change: 0 additions & 1 deletion webapp/cypress/e2e/spec.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*/

import { describe, it } from "mocha";
import { cy } from "cypress";

describe("template spec", () => {
it("passes", () => {
Expand Down
3 changes: 3 additions & 0 deletions webapp/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import jsdocPlugin from "eslint-plugin-jsdoc";
import prettierPluginRecommended from "eslint-plugin-prettier/recommended";
import licenseHeaderPlugin from "eslint-plugin-license-header";
import reactRefreshPlugin from "eslint-plugin-react-refresh";
import cypressPlugin from "eslint-plugin-cypress";

export default [
// Must be defined here to be applied to all configurations.
Expand Down Expand Up @@ -49,12 +50,14 @@ export default [
globals: {
...globals.browser,
...globals.es2022,
...globals["cypress/globals"]
},
},
plugins: {
"license-header": licenseHeaderPlugin,
"react-hooks": reactHookPlugin,
"react-refresh": reactRefreshPlugin,
"cypress": cypressPlugin
},
rules: {
...reactHookPlugin.configs.recommended.rules,
Expand Down
Loading

0 comments on commit 46ffe93

Please sign in to comment.