-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed: change quotes rule from error to warn and applied linting acro…
…ss codebase#600 fix: change quotes rule from error to warn and apply linting across codebase-#600
- Loading branch information
1 parent
7269dd8
commit ad6d1cc
Showing
21 changed files
with
163 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"eslint.workingDirectories": [ | ||
{ "directory": "./cli", "changeProcessCWD": true }, | ||
{ "directory": "./web-server", "changeProcessCWD": true } | ||
], | ||
"eslint.run": "onSave", | ||
"eslint.lintTask.enable": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "always" | ||
}, | ||
"editor.formatOnSave": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"gruntfuggly.todo-tree", | ||
"stringham.copy-with-imports" | ||
] | ||
"recommendations": ["gruntfuggly.todo-tree", "stringham.copy-with-imports"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
"type": "node-terminal", | ||
"request": "launch", | ||
"command": "yarn dev" | ||
}, | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{ | ||
"workbench.editor.labelFormat": "short", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
"source.fixAll.eslint": "always" | ||
}, | ||
"editor.formatOnSave": false, | ||
"eslint.workingDirectories": [{ "mode": "auto" }], | ||
"tsEssentialPlugins.autoImport.changeSorting": { | ||
"createContext": ["react"] | ||
}, | ||
"tsEssentialPlugins.patchOutline": true, | ||
"editor.linkedEditing": true, | ||
"tsEssentialPlugins.enableMethodSnippets": false, | ||
"tsEssentialPlugins.enableMethodSnippets": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import 'ink-testing-library'; | ||
|
||
import {ReactNode} from 'react'; | ||
import { ReactNode } from 'react'; | ||
|
||
declare module 'ink-testing-library' { | ||
export function render(tree: ReactNode): RenderResponse; | ||
export function render(tree: ReactNode): RenderResponse; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
{ | ||
"name": "cli", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"bin": "dist/cli.js", | ||
"engines": { | ||
"node": "^22.x" | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc", | ||
"dev": "tsc --watch", | ||
"test": "yarn link-fix && ava", | ||
"lint": "eslint source/**/*.{js,ts,tsx}", | ||
"lint-fix": "eslint --fix --ignore-pattern 'node_modules/*' 'source/**/*.{js,ts,tsx}'", | ||
"start": "[ -e ../.env ] && set -a && . ../.env; node dist/cli.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"dependencies": { | ||
"@reduxjs/toolkit": "^2.2.3", | ||
"dockerode": "^4.0.2", | ||
"dockerode-compose": "^1.4.0", | ||
"find-free-ports": "^3.1.1", | ||
"ink": "^4.4.1", | ||
"ink-spinner": "^5.0.0", | ||
"meow": "^11.0.0", | ||
"ramda": "^0.29.1", | ||
"react": "^18.2.0", | ||
"react-redux": "^9.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/dockerode": "^3.3.28", | ||
"@types/dockerode-compose": "^1.4.1", | ||
"@types/ink-testing-library": "^1.0.4", | ||
"@types/ramda": "^0.29.12", | ||
"@types/react": "^18.0.32", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"ava": "^5.2.0", | ||
"chalk": "^5.2.0", | ||
"eslint": "^8.40.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-unused-imports": "^3.1.0", | ||
"ink-testing-library": "^3.0.0", | ||
"prettier": "^3.0.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "5.3.3" | ||
}, | ||
"ava": { | ||
"extensions": { | ||
"ts": "module", | ||
"tsx": "module" | ||
}, | ||
"nodeArguments": [ | ||
"--loader=ts-node/esm" | ||
] | ||
} | ||
"name": "cli", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"bin": "dist/cli.js", | ||
"engines": { | ||
"node": "^22.x" | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc", | ||
"dev": "tsc --watch", | ||
"test": "yarn link-fix && ava", | ||
"lint": "eslint source/**/*.{js,ts,tsx}", | ||
"lint-fix": "eslint --fix --ignore-pattern 'node_modules/*' 'source/**/*.{js,ts,tsx}'", | ||
"start": "[ -e ../.env ] && set -a && . ../.env; node dist/cli.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"dependencies": { | ||
"@reduxjs/toolkit": "^2.2.3", | ||
"dockerode": "^4.0.2", | ||
"dockerode-compose": "^1.4.0", | ||
"find-free-ports": "^3.1.1", | ||
"ink": "^4.4.1", | ||
"ink-spinner": "^5.0.0", | ||
"meow": "^11.0.0", | ||
"ramda": "^0.29.1", | ||
"react": "^18.2.0", | ||
"react-redux": "^9.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/dockerode": "^3.3.28", | ||
"@types/dockerode-compose": "^1.4.1", | ||
"@types/ink-testing-library": "^1.0.4", | ||
"@types/ramda": "^0.29.12", | ||
"@types/react": "^18.0.32", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"ava": "^5.2.0", | ||
"chalk": "^5.2.0", | ||
"eslint": "^8.40.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-unused-imports": "^3.1.0", | ||
"ink-testing-library": "^3.0.0", | ||
"prettier": "^3.0.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "5.3.3" | ||
}, | ||
"ava": { | ||
"extensions": { | ||
"ts": "module", | ||
"tsx": "module" | ||
}, | ||
"nodeArguments": [ | ||
"--loader=ts-node/esm" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"jsx": "react-jsxdev" | ||
} | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"jsx": "react-jsxdev" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,30 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"allowJs": true, | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"allowJs": true, | ||
"allowSyntheticDefaultImports": true, | ||
"jsx": "react-jsx", | ||
"module": "Node16", | ||
"moduleResolution": "Node16", | ||
"moduleDetection": "force", | ||
"target": "ES2022", | ||
"lib": [ | ||
"DOM", | ||
"DOM.Iterable", | ||
"ES2022" | ||
], | ||
"resolveJsonModule": false, | ||
"declaration": true, | ||
"pretty": true, | ||
"newLine": "lf", | ||
"stripInternal": true, | ||
"strict": true, | ||
"noImplicitReturns": true, | ||
"noImplicitOverride": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noPropertyAccessFromIndexSignature": true, | ||
"noEmitOnError": true, | ||
"useDefineForClassFields": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"skipLibCheck": true, | ||
"strictNullChecks": true | ||
}, | ||
"include": ["source"], | ||
"moduleDetection": "force", | ||
"target": "ES2022", | ||
"lib": ["DOM", "DOM.Iterable", "ES2022"], | ||
"resolveJsonModule": false, | ||
"declaration": true, | ||
"pretty": true, | ||
"newLine": "lf", | ||
"stripInternal": true, | ||
"strict": true, | ||
"noImplicitReturns": true, | ||
"noImplicitOverride": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noPropertyAccessFromIndexSignature": true, | ||
"noEmitOnError": true, | ||
"useDefineForClassFields": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"skipLibCheck": true, | ||
"strictNullChecks": true | ||
}, | ||
"include": ["source"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"gruntfuggly.todo-tree", | ||
"stringham.copy-with-imports" | ||
] | ||
"recommendations": ["gruntfuggly.todo-tree", "stringham.copy-with-imports"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
web-server/pages/api/internal/team/[team_id]/incident_services.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.