Skip to content

Commit

Permalink
Merge pull request #13 from bcgov/tanstack-build
Browse files Browse the repository at this point in the history
Tanstack build
  • Loading branch information
jadmsaadaot authored Jul 22, 2024
2 parents 77e13a1 + c5e2dce commit 7afb90b
Show file tree
Hide file tree
Showing 45 changed files with 5,223 additions and 3,155 deletions.
21 changes: 11 additions & 10 deletions submit-web/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
'react-refresh/only-export-components': [
'warn',
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
]
],
"no-console": "error",
},
}
};
13 changes: 13 additions & 0 deletions submit-web/cypress.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* eslint-disable no-undef */

// eslint-disable-next-line @typescript-eslint/no-var-requires
const { defineConfig } = require('cypress');

module.exports = defineConfig({
component: {
devServer: {
framework: "react",
bundler: "vite",
},
},
});
10 changes: 0 additions & 10 deletions submit-web/cypress.config.ts

This file was deleted.

32 changes: 0 additions & 32 deletions submit-web/demoDB.json

This file was deleted.

Loading

0 comments on commit 7afb90b

Please sign in to comment.