eslint-plugin-wdio 7.17.4 → 7.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,6 +26,7 @@ To enable this configuration use the extends property in your `.eslintrc` config
26
26
 
27
27
  ```json
28
28
  {
29
+ "plugins": ["wdio"],
29
30
  "extends": [
30
31
  "eslint:recommended",
31
32
  "plugin:wdio/recommended"
package/build/index.d.ts CHANGED
@@ -14,9 +14,9 @@ declare const configs: {
14
14
  multiremotebrowser: boolean;
15
15
  };
16
16
  rules: {
17
- 'await-expect': import("eslint").Rule.RuleModule;
18
- 'no-debug': import("eslint").Rule.RuleModule;
19
- 'no-pause': import("eslint").Rule.RuleModule;
17
+ 'wdio/await-expect': string;
18
+ 'wdio/no-debug': string;
19
+ 'wdio/no-pause': string;
20
20
  };
21
21
  };
22
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,KAAK;;;;CAIV,CAAA;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;CAYZ,CAAA;AAED,OAAO,EACH,KAAK,EACL,OAAO,GACV,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,KAAK;;;;CAIV,CAAA;AAED,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;CAgBZ,CAAA;AAED,OAAO,EACH,KAAK,EACL,OAAO,GACV,CAAA"}
package/build/index.js CHANGED
@@ -23,7 +23,11 @@ const configs = {
23
23
  expect: false,
24
24
  multiremotebrowser: false,
25
25
  },
26
- rules
26
+ rules: {
27
+ 'wdio/await-expect': 'error',
28
+ 'wdio/no-debug': 'error',
29
+ 'wdio/no-pause': 'error',
30
+ }
27
31
  }
28
32
  };
29
33
  exports.configs = configs;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "eslint-plugin-wdio",
3
- "version": "7.17.4",
3
+ "version": "7.19.4",
4
4
  "description": "Eslint rules for WebdriverIO",
5
- "author": "Christian Bromann <christian@saucelabs.com>",
5
+ "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/eslint-plugin-wdio",
7
7
  "license": "MIT",
8
8
  "main": "build/index.js",
@@ -27,5 +27,5 @@
27
27
  "@types/estree": "^0.0.51",
28
28
  "eslint": "^8.10.0"
29
29
  },
30
- "gitHead": "7243b24766d60a8b4c7d92aec757238c96590172"
30
+ "gitHead": "548cdfb823f7cca51f36e344f20556926f3d3fab"
31
31
  }
package/src/index.ts CHANGED
@@ -18,7 +18,11 @@ const configs = {
18
18
  expect : false,
19
19
  multiremotebrowser : false,
20
20
  },
21
- rules
21
+ rules : {
22
+ 'wdio/await-expect' : 'error',
23
+ 'wdio/no-debug' : 'error',
24
+ 'wdio/no-pause' : 'error',
25
+ }
22
26
  }
23
27
  }
24
28