Skip to content

Commit

Permalink
Merge pull request #349 from Camus1859/develop
Browse files Browse the repository at this point in the history
Added Prettier to enable formatting for all Cypress test
  • Loading branch information
themightychris authored Jul 18, 2022
2 parents eaed4b4 + c1ca214 commit 6cc83dd
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 1,884 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[cypress/**/*.js]
indent_style = space
indent_size = 4
max_line_length = 110
trim_trailing_whitespace = true
charset = utf-8
10 changes: 7 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module.exports = {
"env": {
"browser": true
"browser": true,
"node": 1
},
"globals": {
"Ext": true
},
"extends": "eslint:recommended",
"extends": ["eslint:recommended", "plugin:cypress/recommended", "prettier"],
"rules": {
"accessor-pairs": "error",
"array-bracket-spacing": [
Expand Down Expand Up @@ -239,5 +240,8 @@ module.exports = {
"wrap-regex": "error",
"yield-star-spacing": "error",
"yoda": "error"
}
},
"plugins": [
"cypress"
]
};
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/sencha-workspace/ext-*/*
/sencha-workspace/build/
.data/
node_modules/
2 changes: 2 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{ "singleQuote": true
}
Loading

0 comments on commit 6cc83dd

Please sign in to comment.