Skip to content

Commit ee678d0

Browse files
committed
Include the plugin itself in the recommended preset
So users don't have to manually specify the plugin if they use the preset.
1 parent 4e20b90 commit ee678d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ module.exports = {
1313
ecmaVersion: 2018,
1414
sourceType: 'module'
1515
},
16+
plugins: [
17+
'ava'
18+
],
1619
rules: {
1720
'ava/assertion-arguments': 'error',
1821
'ava/max-asserts': ['off', 5],

readme.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ Enable it in your `package.json` with the `extends` option:
105105
{
106106
"name": "my-awesome-project",
107107
"eslintConfig": {
108-
"plugins": [
109-
"ava"
110-
],
111108
"extends": "plugin:ava/recommended"
112109
}
113110
}

0 commit comments

Comments
 (0)