build: Use prettier for javascript

Stop ignoring .js and .json files in prettier and fix existing issues.

The `prettier-plugin-multiline-arrays` plugin is used to split arrays
with multiple elements into one line per element.
This commit is contained in:
Ralph Hopman
2024-12-19 10:19:28 +01:00
committed by Adam Saghy
parent 2ec9ba81d6
commit f693318c2e
25 changed files with 7770 additions and 7608 deletions
+1 -1
View File
@@ -6,4 +6,4 @@
"pluginsFile": "e2e/cypress/plugins/index.ts",
"fixturesFolder": "e2e/cypress/fixtures",
"baseUrl": "http://localhost:4200"
}
}
+2 -2
View File
@@ -9,7 +9,7 @@ exports.config = {
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': process.env.PROTRACTOR_BROWSER || 'chrome'
browserName: process.env.PROTRACTOR_BROWSER || 'chrome'
},
// Only works with Chrome and Firefox
directConnect: true,
@@ -18,7 +18,7 @@ exports.config = {
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 60000,
print: function() {}
print: function () {}
},
onPrepare() {
require('ts-node').register({
+6 -7
View File
@@ -1,9 +1,8 @@
{
"extends": "../tsconfig.json",
"include": ["**/*.ts"],
"compilerOptions": {
"sourceMap": false,
"types": ["cypress"]
}
"extends": "../tsconfig.json",
"include": ["**/*.ts"],
"compilerOptions": {
"sourceMap": false,
"types": ["cypress"]
}
}