Skip to content

Commit

Permalink
Final update of rule types
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Nov 6, 2018
1 parent 1b546cf commit 7e80da5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/rules/no-buffer-constructor.js
Expand Up @@ -10,7 +10,7 @@

module.exports = {
meta: {
type: "suggestion",
type: "problem",

docs: {
description: "disallow use of the `Buffer()` constructor",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-use-before-define.js
Expand Up @@ -136,7 +136,7 @@ function isInInitializer(variable, reference) {

module.exports = {
meta: {
type: "suggestion",
type: "problem",

docs: {
description: "disallow the use of variables before they are defined",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/valid-jsdoc.js
Expand Up @@ -16,7 +16,7 @@ const doctrine = require("doctrine");

module.exports = {
meta: {
type: "problem",
type: "suggestion",

docs: {
description: "enforce valid JSDoc comments",
Expand Down
6 changes: 3 additions & 3 deletions tools/rule-types.json
Expand Up @@ -75,7 +75,7 @@
"no-async-promise-executor": "problem",
"no-await-in-loop": "problem",
"no-bitwise": "suggestion",
"no-buffer-constructor": "suggestion",
"no-buffer-constructor": "problem",
"no-caller": "suggestion",
"no-case-declarations": "suggestion",
"no-catch-shadow": "suggestion",
Expand Down Expand Up @@ -194,7 +194,7 @@
"no-unused-expressions": "suggestion",
"no-unused-labels": "suggestion",
"no-unused-vars": "problem",
"no-use-before-define": "suggestion",
"no-use-before-define": "problem",
"no-useless-call": "suggestion",
"no-useless-computed-key": "suggestion",
"no-useless-concat": "suggestion",
Expand Down Expand Up @@ -256,7 +256,7 @@
"template-tag-spacing": "layout",
"unicode-bom": "layout",
"use-isnan": "problem",
"valid-jsdoc": "problem",
"valid-jsdoc": "suggestion",
"valid-typeof": "problem",
"vars-on-top": "suggestion",
"wrap-iife": "layout",
Expand Down

0 comments on commit 7e80da5

Please sign in to comment.