Skip to content

Commit

Permalink
biome fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hartra344 committed Mar 26, 2024
1 parent d0ea7ed commit 034946f
Show file tree
Hide file tree
Showing 41 changed files with 50 additions and 158 deletions.
7 changes: 1 addition & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"recommendations": [
"nrwl.angular-console",
"biomejs.biome",
"firsttris.vscode-jest-runner",
"dbaeumer.vscode-eslint"
]
"recommendations": ["nrwl.angular-console", "biomejs.biome", "firsttris.vscode-jest-runner", "dbaeumer.vscode-eslint"]
}
4 changes: 1 addition & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}/dist/apps/vs-code-designer"
],
"args": ["--extensionDevelopmentPath=${workspaceFolder}/dist/apps/vs-code-designer"],
"trace": false,
"internalConsoleOptions": "openOnFirstSessionStart",
"outFiles": ["${workspaceFolder}/dist/apps/vs-code-designer/*.js"],
Expand Down
5 changes: 1 addition & 4 deletions __mocks__/mapMetadata/testMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"yPos": 0
}
],
"connections": [
"ToUpper-565A471E-6DB3-42A6-99AA-A4DFDF01DA02",
"/ns0:CBRInputRecord/TestStuff/NCName"
]
"connections": ["ToUpper-565A471E-6DB3-42A6-99AA-A4DFDF01DA02", "/ns0:CBRInputRecord/TestStuff/NCName"]
}
]
}
10 changes: 2 additions & 8 deletions __mocks__/workflows/ComplexConditionals.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,7 @@
"expression": {
"and": [
{
"equals": [
"@body('Get_a_goal_check-in')?['value']",
"@variables('checkinValue')"
]
"equals": ["@body('Get_a_goal_check-in')?['value']", "@variables('checkinValue')"]
},
{
"equals": ["@body('Get_a_goal_check-in')?['status']", "At risk"]
Expand Down Expand Up @@ -228,10 +225,7 @@
"expression": {
"and": [
{
"equals": [
"@variables('actualNote')",
"@variables('checkinNote')"
]
"equals": ["@variables('actualNote')", "@variables('checkinNote')"]
}
]
},
Expand Down
5 changes: 1 addition & 4 deletions __mocks__/workflows/Conditionals.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@
"and": [
{
"not": {
"endsWith": [
"@{concat(concat(concat(concat())))}",
"@variables('goalOwner')"
]
"endsWith": ["@{concat(concat(concat(concat())))}", "@variables('goalOwner')"]
}
},
{
Expand Down
25 changes: 5 additions & 20 deletions __mocks__/workflows/MoreComplex.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,34 +114,19 @@
"expression": {
"and": [
{
"equals": [
"@body('When_a_property_of_some_goal_changes')?['changeList']",
"currentValue,status"
]
"equals": ["@body('When_a_property_of_some_goal_changes')?['changeList']", "currentValue,status"]
},
{
"equals": [
"@body('When_a_property_of_some_goal_changes')?['newStatus']",
"At risk"
]
"equals": ["@body('When_a_property_of_some_goal_changes')?['newStatus']", "At risk"]
},
{
"equals": [
"@body('When_a_property_of_some_goal_changes')?['oldStatus']",
"On track"
]
"equals": ["@body('When_a_property_of_some_goal_changes')?['oldStatus']", "On track"]
},
{
"equals": [
"@body('When_a_property_of_some_goal_changes')?['newCurrentValue']",
100
]
"equals": ["@body('When_a_property_of_some_goal_changes')?['newCurrentValue']", 100]
},
{
"equals": [
"@body('When_a_property_of_some_goal_changes')?['oldCurrentValue']",
500
]
"equals": ["@body('When_a_property_of_some_goal_changes')?['oldCurrentValue']", 500]
}
]
},
Expand Down
15 changes: 3 additions & 12 deletions __mocks__/workflows/Scoped.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
"expression": {
"and": [
{
"equals": [
"@variables('foundGoalIds')",
"@variables('expectedGoalIds')"
]
"equals": ["@variables('foundGoalIds')", "@variables('expectedGoalIds')"]
}
]
},
Expand Down Expand Up @@ -95,16 +92,10 @@
"expression": {
"or": [
{
"equals": [
"@items('For_each')?['id']",
"@body('Create_a_goal')['id']"
]
"equals": ["@items('For_each')?['id']", "@body('Create_a_goal')['id']"]
},
{
"equals": [
"@items('For_each')?['id']",
"@body('Create_a_goal_2')['id']"
]
"equals": ["@items('For_each')?['id']", "@body('Create_a_goal_2')['id']"]
}
]
},
Expand Down
5 changes: 1 addition & 4 deletions apps/data-mapper-standalone/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"main": "apps/data-mapper-standalone/src/main.tsx",
"polyfills": "apps/data-mapper-standalone/src/polyfills.ts",
"tsConfig": "apps/data-mapper-standalone/tsconfig.app.json",
"assets": [
"apps/data-mapper-standalone/src/favicon.ico",
"apps/data-mapper-standalone/src/assets"
],
"assets": ["apps/data-mapper-standalone/src/favicon.ico", "apps/data-mapper-standalone/src/assets"],
"styles": ["apps/data-mapper-standalone/src/styles.less"],
"scripts": [],
"statsJson": true,
Expand Down
8 changes: 1 addition & 7 deletions apps/data-mapper-standalone/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"jest.config.ts"
],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx", "jest.config.ts"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
5 changes: 1 addition & 4 deletions apps/data-mapper-standalone/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@
"**/*.d.ts",
"jest.config.ts"
],
"files": [
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../node_modules/@nrwl/react/typings/image.d.ts"
]
"files": ["../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/react/typings/image.d.ts"]
}
5 changes: 1 addition & 4 deletions apps/designer-standalone/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"main": "apps/designer-standalone/src/main.tsx",
"polyfills": "apps/designer-standalone/src/polyfills.ts",
"tsConfig": "apps/designer-standalone/tsconfig.app.json",
"assets": [
"apps/designer-standalone/src/favicon.ico",
"apps/designer-standalone/src/assets"
],
"assets": ["apps/designer-standalone/src/favicon.ico", "apps/designer-standalone/src/assets"],
"styles": ["apps/designer-standalone/src/styles.less"],
"scripts": [],
"statsJson": true,
Expand Down
8 changes: 1 addition & 7 deletions apps/designer-standalone/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"jest.config.ts"
],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx", "jest.config.ts"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
5 changes: 1 addition & 4 deletions apps/designer-standalone/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@
"**/*.d.ts",
"jest.config.ts"
],
"files": [
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../node_modules/@nrwl/react/typings/image.d.ts"
]
"files": ["../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/react/typings/image.d.ts"]
}
5 changes: 1 addition & 4 deletions apps/vs-code-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
"main": "apps/vs-code-react/src/main.tsx",
"polyfills": "apps/vs-code-react/src/polyfills.ts",
"tsConfig": "apps/vs-code-react/tsconfig.app.json",
"assets": [
"apps/vs-code-react/src/favicon.ico",
"apps/vs-code-react/src/assets"
],
"assets": ["apps/vs-code-react/src/favicon.ico", "apps/vs-code-react/src/assets"],
"styles": ["apps/vs-code-react/src/styles.less"],
"scripts": [],
"webpackConfig": "custom-webpack.config.js"
Expand Down
5 changes: 1 addition & 4 deletions apps/vs-code-react/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@
"**/*.d.ts",
"jest.config.ts"
],
"files": [
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../node_modules/@nrwl/react/typings/image.d.ts"
]
"files": ["../../node_modules/@nrwl/react/typings/cssmodule.d.ts", "../../node_modules/@nrwl/react/typings/image.d.ts"]
}
7 changes: 1 addition & 6 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,7 @@
},
"organizeImports": {
"enabled": false,
"include": [
"libs/**/*.ts",
"libs/**/*.tsx",
"apps/**/*.ts",
"apps/**/*.tsx"
],
"include": ["libs/**/*.ts", "libs/**/*.tsx", "apps/**/*.ts", "apps/**/*.tsx"],
"ignore": ["dist/*", "test-results/*", "tmp/*", "playwright-report/*"]
}
}
12 changes: 2 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,8 @@
"typescript": "~5.2.2"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
]
"production": [">0.5%", "not dead", "not op_mini all"],
"development": ["last 3 chrome version", "last 3 firefox version", "last 5 safari version"]
},
"engines": {
"node": ">=18.0"
Expand Down
8 changes: 1 addition & 7 deletions libs/chatbot/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"jest.config.ts"
],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx", "jest.config.ts"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
8 changes: 1 addition & 7 deletions libs/data-mapper/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"jest.config.ts"
],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx", "jest.config.ts"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
8 changes: 1 addition & 7 deletions libs/designer/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": [
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.test.tsx",
"jest.config.ts"
],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "**/*.spec.tsx", "**/*.test.tsx", "jest.config.ts"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10315,4 +10315,4 @@
"value": "Povinný parametr. Počet minut, které se mají přičíst. Může to být i záporná hodnota, při které se minuty odečtou."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10225,4 +10225,4 @@
"value": "Erforderlich. Die Anzahl der zu addierenden Minuten. Kann negativ sein, um Minuten zu subtrahieren."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22453,4 +22453,4 @@
"value": "]"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10234,4 +10234,4 @@
"value": "Obligatorio. El número de minutos que se agregarán. Puede ser negativo para restar minutos."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10250,4 +10250,4 @@
"value": "Obligatoire. Nombre de minutes à ajouter. Peut être négatif pour soustraire des minutes."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10161,4 +10161,4 @@
"value": "Kötelező megadni. A hozzáadni kívánt percek száma. Lehet negatív érték is percek kivonása céljából."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10088,4 +10088,4 @@
"value": "Wajib. Jumlah menit yang akan ditambahkan. Dapat berupa nilai negatif untuk mengurangi menit."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10238,4 +10238,4 @@
"value": "Obbligatorio. Numero di minuti da aggiungere. Può essere negativo per sottrarre i minuti."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10052,4 +10052,4 @@
"value": "必須。追加する分数。負の値を指定すると、分数を減算できます。"
}
]
}
}
2 changes: 1 addition & 1 deletion libs/logic-apps-shared/src/intl/compiled-lang/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10181,4 +10181,4 @@
"value": "Required. The number of minutes to add. Can be negative to subtract minutes."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10040,4 +10040,4 @@
"value": "필수 사항으로, 추가할 분 값입니다. 분을 빼려는 경우 음수일 수 있습니다."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10145,4 +10145,4 @@
"value": "Vereist. Het aantal minuten dat moet worden opgeteld. Kan negatief zijn om minuten af te trekken."
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10347,4 +10347,4 @@
"value": "Wymagane. Liczba minut do dodania. Może być ujemna na potrzeby odejmowania minut."
}
]
}
}

0 comments on commit 034946f

Please sign in to comment.