Skip to content

Commit

Permalink
Merge pull request #185 from brettz9/meta-type
Browse files Browse the repository at this point in the history
Meta type
  • Loading branch information
xjamundx committed Jul 8, 2020
2 parents 5bffa17 + 9a159d8 commit 120117f
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions rules/always-return.js
Expand Up @@ -56,6 +56,7 @@ function peek(arr) {

module.exports = {
meta: {
type: 'problem',
docs: {
url: getDocsUrl('always-return')
}
Expand Down
1 change: 1 addition & 0 deletions rules/avoid-new.js
Expand Up @@ -9,6 +9,7 @@ const getDocsUrl = require('./lib/get-docs-url')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('avoid-new')
}
Expand Down
1 change: 1 addition & 0 deletions rules/catch-or-return.js
Expand Up @@ -11,6 +11,7 @@ const isPromise = require('./lib/is-promise')

module.exports = {
meta: {
type: 'problem',
docs: {
url: getDocsUrl('catch-or-return')
},
Expand Down
1 change: 1 addition & 0 deletions rules/no-callback-in-promise.js
Expand Up @@ -12,6 +12,7 @@ const isCallback = require('./lib/is-callback')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('no-callback-in-promise')
},
Expand Down
1 change: 1 addition & 0 deletions rules/no-native.js
Expand Up @@ -21,6 +21,7 @@ function isDeclared(scope, ref) {

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('no-native')
},
Expand Down
1 change: 1 addition & 0 deletions rules/no-nesting.js
Expand Up @@ -11,6 +11,7 @@ const isInsidePromise = require('./lib/is-inside-promise')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('no-nesting')
}
Expand Down
1 change: 1 addition & 0 deletions rules/no-new-statics.js
Expand Up @@ -5,6 +5,7 @@ const getDocsUrl = require('./lib/get-docs-url')

module.exports = {
meta: {
type: 'problem',
docs: {
url: getDocsUrl('no-new-statics')
},
Expand Down
1 change: 1 addition & 0 deletions rules/no-promise-in-callback.js
Expand Up @@ -11,6 +11,7 @@ const isInsideCallback = require('./lib/is-inside-callback')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('no-promise-in-callback')
}
Expand Down
1 change: 1 addition & 0 deletions rules/no-return-in-finally.js
Expand Up @@ -5,6 +5,7 @@ const isPromise = require('./lib/is-promise')

module.exports = {
meta: {
type: 'problem',
docs: {
url: getDocsUrl('no-return-in-finally')
}
Expand Down
1 change: 1 addition & 0 deletions rules/no-return-wrap.js
Expand Up @@ -37,6 +37,7 @@ function isInPromise(context) {

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('no-return-wrap')
},
Expand Down
1 change: 1 addition & 0 deletions rules/param-names.js
Expand Up @@ -4,6 +4,7 @@ const getDocsUrl = require('./lib/get-docs-url')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('param-names')
}
Expand Down
1 change: 1 addition & 0 deletions rules/prefer-await-to-callbacks.js
Expand Up @@ -4,6 +4,7 @@ const getDocsUrl = require('./lib/get-docs-url')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('prefer-await-to-callbacks')
},
Expand Down
1 change: 1 addition & 0 deletions rules/prefer-await-to-then.js
Expand Up @@ -9,6 +9,7 @@ const getDocsUrl = require('./lib/get-docs-url')

module.exports = {
meta: {
type: 'suggestion',
docs: {
url: getDocsUrl('prefer-await-to-then')
}
Expand Down
1 change: 1 addition & 0 deletions rules/valid-params.js
Expand Up @@ -5,6 +5,7 @@ const isPromise = require('./lib/is-promise')

module.exports = {
meta: {
type: 'problem',
docs: {
description:
'Ensures the proper number of arguments are passed to Promise functions',
Expand Down

0 comments on commit 120117f

Please sign in to comment.