Skip to content

Commit e2fb2d5

Browse files
authored
Merge pull request #11 from concord-consortium/START-3-update-dependencies
START-3 update dependencies
2 parents 3bcbd21 + 4cf0e03 commit e2fb2d5

15 files changed

+2937
-2103
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 2
6+
indent_style = space
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true

.eslintrc.build.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 144 deletions
This file was deleted.

.eslintrc.style.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

__mocks__/fileMock.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default "test-file-stub";

cypress.config.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
import { defineConfig } from 'cypress'
1+
import { defineConfig } from "cypress";
2+
import codeCoverageTask from "@cypress/code-coverage/task";
23

34
export default defineConfig({
45
video: false,
56
fixturesFolder: false,
6-
projectId: 'r9de4a',
7+
projectId: "r9de4a",
78
defaultCommandTimeout: 8000,
89
env: {
910
coverage: false,
1011
},
1112
e2e: {
12-
// We've imported your old cypress plugins here.
13-
// You may want to clean this up later by importing these.
1413
setupNodeEvents(on, config) {
15-
return require("@cypress/code-coverage/task")(on, config);
14+
return codeCoverageTask(on, config);
1615
},
17-
baseUrl: 'http://localhost:8080',
18-
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
16+
baseUrl: "http://localhost:8080",
17+
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
1918
},
20-
})
19+
});

eslint.build.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import typescriptEslint from "typescript-eslint";
2+
import baseConfig from "./eslint.config.mjs";
3+
4+
// build/production configuration extends default/development configuration
5+
export default typescriptEslint.config(
6+
...baseConfig,
7+
{
8+
rules: {
9+
"@eslint-community/eslint-comments/no-unused-disable": "warn",
10+
"no-console": ["warn", { allow: ["warn", "error"] }],
11+
"no-debugger": "error"
12+
}
13+
}
14+
);

0 commit comments

Comments
 (0)