Skip to content

Commit

Permalink
feat: add meta.type (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 authored Apr 19, 2021
1 parent 01c4c65 commit cfcc035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/rules/no-await-in-condition.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function checkHasAwait (context, node) {

module.exports = {
meta: {
type: 'problem',
docs: {
description: 'Must not use await within chai-as-promised expressions',
category: 'Possible Errors',
Expand Down
1 change: 1 addition & 0 deletions lib/rules/no-unhandled-promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const isNodeNotify = require('../util/is-node-notify');

module.exports = {
meta: {
type: 'problem',
docs: {
description: 'Must handle promises returned from chai-as-promised expressions',
category: 'Possible Errors',
Expand Down

0 comments on commit cfcc035

Please sign in to comment.