Skip to content

Commit

Permalink
Update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
cshnimble committed Jul 3, 2024
1 parent 3a16a6c commit 84d0d50
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 188 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const azureLogin = require('./azureLogin').azureLogin;
/**
* @type {Cypress.PluginConfig}
*/
// eslint-disable-next-line no-unused-vars
module.exports = (on, config) => {

const cache = {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"parser": "@typescript-eslint/parser",
"plugins": [
export default [
{
files: [
".js", ".jsx", ".ts", ".tsx"
],
parser: "@typescript-eslint/parser",
plugins: [
"cypress"
],
"rules": {
rules: {
"cypress/no-assigning-return-values": "warn",
"cypress/no-unnecessary-waiting": "warn",
"cypress/assertion-before-screenshot": "warn",
Expand All @@ -12,10 +16,11 @@
"cypress/no-pause": "warn",
"cypress/unsafe-to-chain-command": "warn"
},
"env": {
env: {
"cypress/globals": true
},
"extends": [
extends: [
"plugin:cypress/recommended"
]
}
}
]
Loading

0 comments on commit 84d0d50

Please sign in to comment.