Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
fix(lint): set cariage return in prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Jun 17, 2020
1 parent 896ef59 commit 3016601
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 30 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "es5",
"endOfLine":"crlf"
}
5 changes: 3 additions & 2 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const percyHealthCheck = require('@percy/cypress/task');
module.exports = (on, config) => {
import percyHealthCheck from '@percy/cypress/task';

export default (on) => {
on('task', percyHealthCheck);
};
27 changes: 1 addition & 26 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
import '@percy/cypress';
import '@percy/cypress';
2 changes: 1 addition & 1 deletion cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'
import './commands';

// Alternatively you can use CommonJS syntax:
// require('./commands')

0 comments on commit 3016601

Please sign in to comment.