eslint-plugin-wdio
Advanced tools
Comparing version 9.0.8 to 9.2.11
{ | ||
"name": "eslint-plugin-wdio", | ||
"version": "9.0.8", | ||
"version": "9.2.11", | ||
"description": "Eslint rules for WebdriverIO", | ||
@@ -42,3 +42,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "cc85ebf08918965cff46ce7e014703549b7f50d7" | ||
"gitHead": "0525efdad783af9d6f96ade9d8a3ada8454ad5c6" | ||
} |
@@ -25,2 +25,4 @@ # eslint-plugin-wdio | ||
### With Eslint v8 and below | ||
To enable this configuration use the extends property in your `.eslintrc` config file: | ||
@@ -38,4 +40,22 @@ | ||
See [ESLint documentation](https://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending configuration files. | ||
### With Eslint v9 and Flat Config | ||
If you are using the latest version of Eslint with the [flat configuration](https://eslint.org/docs/latest/use/configure/migration-guide), you can embed this plugin as follows: | ||
```js | ||
// eslint.config.mjs | ||
import { config as wdioConfig } from "eslint-plugin-wdio"; | ||
export default [ | ||
{ | ||
extends: [ | ||
wdioConfig['flat/recommended'], | ||
// ... | ||
] | ||
} | ||
]; | ||
``` | ||
See [ESLint documentation](https://eslint.org/docs/latest/use/configure/configuration-files) for more information about extending configuration files. | ||
## List of supported rules | ||
@@ -42,0 +62,0 @@ |
21876
66
135321
143
0
1
0
21