Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump the typescript-eslint group across 1 directory with 2 updates #2247

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions typescript/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig({
},
video: false,
setupNodeEvents(on, config) {
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
getCompareSnapshotsPlugin(on, config),
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
Expand Down
125 changes: 61 additions & 64 deletions typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"@types/react-redux": "^7.1.33",
"@types/uuid": "^8.3.0",
"@types/workerpool": "^6.4.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"assert": "^2.0.0",
"babel-jest": "^29.6.0",
"copyfiles": "^2.0.0",
Expand Down
2 changes: 2 additions & 0 deletions typescript/packages/subsurface-viewer/src/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,8 @@ const Map: React.FC<MapProps> = ({
if (checkDatafileSchema && layers && loadingProgress === 100) {
try {
validateLayers(layers);
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
colorTables && validateColorTables(colorTables);
} catch (e) {
setErrorText(String(e));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ describe("Test Layer Property", () => {
const drawing_layer = layers.find(
(item) => item["@@type"] === "DrawingLayer"
);
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
drawing_layer &&
render(
EmptyWrapper({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ describe("test layers settings button", () => {

it("should close menu when clicked on backdrop", async () => {
const user = userEvent.setup();
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
drawingLayer &&
render(
EmptyWrapper({
Expand All @@ -75,6 +77,8 @@ describe("test layers settings button", () => {

it("should close menu when clicked twice on layers button", async () => {
const user = userEvent.setup();
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
drawingLayer &&
render(
EmptyWrapper({
Expand All @@ -93,6 +97,8 @@ describe("test layers settings button", () => {
const wells_layer = layers.find(
(item) => item["@@type"] === "WellsLayer"
);
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
wells_layer &&
render(
EmptyWrapper({
Expand All @@ -109,6 +115,8 @@ describe("test layers settings button", () => {
const wells_layer = layers.find(
(item) => item["@@type"] === "WellsLayer"
);
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
wells_layer &&
render(
EmptyWrapper({
Expand All @@ -125,6 +133,8 @@ describe("test layers settings button", () => {
const wells_layer = layers.find(
(item) => item["@@type"] === "WellsLayer"
);
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
wells_layer &&
render(
EmptyWrapper({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ describe("Test Numeric Input", () => {
label="Trajectory thickness"
value={15}
onChange={(e: ChangeEvent<HTMLInputElement>) => {
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
e;
}}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ describe("Test Slider Input", () => {
max={100}
step={2}
onChange={(e: FormEvent<HTMLDivElement>) => {
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
e;
}}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ describe("Test Toggle Input", () => {
label="Log curves"
checked={false}
onChange={(e: ChangeEvent<HTMLInputElement>) => {
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
e;
}}
/>
Expand Down
2 changes: 2 additions & 0 deletions typescript/packages/subsurface-viewer/src/custom.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
declare module "*.svg" {
// TODO: Fix this the next time the file is edited.
// eslint-disable-next-line @typescript-eslint/no-require-imports
import React = require("react");
export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;
const src: string;
Expand Down
Loading
Loading