chore: Remove redundant eslint comments

This commit is contained in:
Sidharth Vinod
2024-06-24 14:48:08 +05:30
parent 422b8cd078
commit 8cbe3e073d
3 changed files with 9 additions and 17 deletions

View File

@@ -27,7 +27,7 @@
"release": "pnpm build", "release": "pnpm build",
"lint": "pnpm biome check && pnpm lint:jison", "lint": "pnpm biome check && pnpm lint:jison",
"lint:fix": "pnpm biome check --write", "lint:fix": "pnpm biome check --write",
"lint:ci": "cross-env NODE_OPTIONS=--max_old_space_size=8192 eslint --cache --cache-strategy content . && pnpm lint", "lint:ci": "pnpm lint && cross-env NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content .",
"lint:jison": "tsx ./scripts/jison/lint.mts", "lint:jison": "tsx ./scripts/jison/lint.mts",
"contributors": "tsx scripts/updateContributors.ts", "contributors": "tsx scripts/updateContributors.ts",
"cypress": "cypress run", "cypress": "cypress run",
@@ -52,14 +52,8 @@
"author": "Knut Sveidqvist", "author": "Knut Sveidqvist",
"license": "MIT", "license": "MIT",
"standard": { "standard": {
"ignore": [ "ignore": ["**/parser/*.js", "dist/**/*.js", "cypress/**/*.js"],
"**/parser/*.js", "globals": ["page"]
"dist/**/*.js",
"cypress/**/*.js"
],
"globals": [
"page"
]
}, },
"devDependencies": { "devDependencies": {
"@applitools/eyes-cypress": "^3.42.3", "@applitools/eyes-cypress": "^3.42.3",

View File

@@ -445,21 +445,20 @@ export const addEdges = function (edges, diagObj, graph, svg) {
edgeData.arrowTypeStart = 'arrow_open'; edgeData.arrowTypeStart = 'arrow_open';
edgeData.arrowTypeEnd = 'arrow_open'; edgeData.arrowTypeEnd = 'arrow_open';
/* eslint-disable no-fallthrough */
switch (edge.type) { switch (edge.type) {
// biome-ignore lint/suspicious/noFallthroughSwitchClause: <explanation> // biome-ignore lint/suspicious/noFallthroughSwitchClause: Expected fallthrough
case 'double_arrow_cross': case 'double_arrow_cross':
edgeData.arrowTypeStart = 'arrow_cross'; edgeData.arrowTypeStart = 'arrow_cross';
case 'arrow_cross': case 'arrow_cross':
edgeData.arrowTypeEnd = 'arrow_cross'; edgeData.arrowTypeEnd = 'arrow_cross';
break; break;
// biome-ignore lint/suspicious/noFallthroughSwitchClause: <explanation> // biome-ignore lint/suspicious/noFallthroughSwitchClause: Expected fallthrough
case 'double_arrow_point': case 'double_arrow_point':
edgeData.arrowTypeStart = 'arrow_point'; edgeData.arrowTypeStart = 'arrow_point';
case 'arrow_point': case 'arrow_point':
edgeData.arrowTypeEnd = 'arrow_point'; edgeData.arrowTypeEnd = 'arrow_point';
break; break;
// biome-ignore lint/suspicious/noFallthroughSwitchClause: <explanation> // biome-ignore lint/suspicious/noFallthroughSwitchClause: Expected fallthrough
case 'double_arrow_circle': case 'double_arrow_circle':
edgeData.arrowTypeStart = 'arrow_circle'; edgeData.arrowTypeStart = 'arrow_circle';
case 'arrow_circle': case 'arrow_circle':

View File

@@ -244,21 +244,20 @@ export const addEdges = async function (edges, g, diagObj) {
edgeData.arrowTypeStart = 'arrow_open'; edgeData.arrowTypeStart = 'arrow_open';
edgeData.arrowTypeEnd = 'arrow_open'; edgeData.arrowTypeEnd = 'arrow_open';
/* eslint-disable no-fallthrough */
switch (edge.type) { switch (edge.type) {
// biome-ignore lint/suspicious/noFallthroughSwitchClause: <explanation> // biome-ignore lint/suspicious/noFallthroughSwitchClause: Expected fallthrough
case 'double_arrow_cross': case 'double_arrow_cross':
edgeData.arrowTypeStart = 'arrow_cross'; edgeData.arrowTypeStart = 'arrow_cross';
case 'arrow_cross': case 'arrow_cross':
edgeData.arrowTypeEnd = 'arrow_cross'; edgeData.arrowTypeEnd = 'arrow_cross';
break; break;
// biome-ignore lint/suspicious/noFallthroughSwitchClause: <explanation> // biome-ignore lint/suspicious/noFallthroughSwitchClause: Expected fallthrough
case 'double_arrow_point': case 'double_arrow_point':
edgeData.arrowTypeStart = 'arrow_point'; edgeData.arrowTypeStart = 'arrow_point';
case 'arrow_point': case 'arrow_point':
edgeData.arrowTypeEnd = 'arrow_point'; edgeData.arrowTypeEnd = 'arrow_point';
break; break;
// biome-ignore lint/suspicious/noFallthroughSwitchClause: <explanation> // biome-ignore lint/suspicious/noFallthroughSwitchClause: Expected fallthrough
case 'double_arrow_circle': case 'double_arrow_circle':
edgeData.arrowTypeStart = 'arrow_circle'; edgeData.arrowTypeStart = 'arrow_circle';
case 'arrow_circle': case 'arrow_circle':