Skip to content

Commit

Permalink
add some new eslint-plugin-ava rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 11, 2016
1 parent c17358b commit afc03ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ module.exports = {
]
},
rules: {
// TODO: remove these when eslint-plugin-ava@4 is out
'ava/no-async-fn-without-await': 'error',
'ava/no-duplicate-modifiers': 'error',

'no-use-extend-native/no-use-extend-native': 'error',
'promise/param-names': 'error',
'import/default': 'error',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint": "^3.6.0",
"eslint-config-xo": "^0.16.0",
"eslint-formatter-pretty": "^1.0.0",
"eslint-plugin-ava": "^3.0.0",
"eslint-plugin-ava": "^3.1.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-no-use-extend-native": "^0.3.2",
"eslint-plugin-promise": "^2.0.1",
Expand Down

0 comments on commit afc03ef

Please sign in to comment.