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:
+1
-1
@@ -6,4 +6,4 @@
|
||||
"pluginsFile": "e2e/cypress/plugins/index.ts",
|
||||
"fixturesFolder": "e2e/cypress/fixtures",
|
||||
"baseUrl": "http://localhost:4200"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["**/*.ts"],
|
||||
"compilerOptions": {
|
||||
"sourceMap": false,
|
||||
"types": ["cypress"]
|
||||
}
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["**/*.ts"],
|
||||
"compilerOptions": {
|
||||
"sourceMap": false,
|
||||
"types": ["cypress"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user