Skip to content

Commit

Permalink
Update config/replaceBy fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Apr 2, 2020
1 parent 885e11f commit 0a97853
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion lib/rules/callback-return.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/callback-return.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/global-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/global-require.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/handle-callback-err.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/handle-callback-err.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-buffer-constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md"],

type: "problem",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-mixed-requires.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-mixed-requires.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-new-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-new-require.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-path-concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-path-concat.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-process-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-process-env.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-process-exit.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-process-exit.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-restricted-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-restricted-require.md"],

type: "suggestion",

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
meta: {
deprecated: true,

replacedBy: [],
replacedBy: ["https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-sync.md"],

type: "suggestion",

Expand Down
14 changes: 7 additions & 7 deletions packages/eslint-config-eslint/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ rules:
block-spacing: "error"
brace-style: ["error", "1tbs"]
camelcase: "error"
callback-return: ["error", ["cb", "callback", "next"]]
class-methods-use-this: "error"
comma-dangle: "error"
comma-spacing: "error"
Expand All @@ -40,7 +39,6 @@ rules:
function-paren-newline: ["error", "consistent"]
generator-star-spacing: "error"
guard-for-in: "error"
handle-callback-err: ["error", "err"]
jsdoc/check-alignment: "error"
jsdoc/check-param-names: "error"
jsdoc/check-syntax: "error"
Expand Down Expand Up @@ -78,7 +76,6 @@ rules:
new-parens: "error"
no-alert: "error"
no-array-constructor: "error"
no-buffer-constructor: "error"
no-caller: "error"
no-confusing-arrow: "error"
no-console: "error"
Expand All @@ -97,7 +94,6 @@ rules:
no-labels: "error"
no-lone-blocks: "error"
no-loop-func: "error"
no-mixed-requires: "error"
no-mixed-spaces-and-tabs: ["error", false]
no-multi-spaces: "error"
no-multi-str: "error"
Expand All @@ -106,13 +102,10 @@ rules:
no-new: "error"
no-new-func: "error"
no-new-object: "error"
no-new-require: "error"
no-new-wrappers: "error"
no-octal: "error"
no-octal-escape: "error"
no-param-reassign: "error"
no-path-concat: "error"
no-process-exit: "error"
no-proto: "error"
no-redeclare: "error"
no-restricted-properties: [
Expand Down Expand Up @@ -151,6 +144,13 @@ rules:
no-useless-return: "error"
no-whitespace-before-property: "error"
no-var: "error"
node/callback-return: ["error", ["cb", "callback", "next"]]
node/handle-callback-err: ["error", "err"]
node/no-deprecated-api: "error"
node/no-mixed-requires: "error"
node/no-new-require: "error"
node/no-path-concat: "error"
node/no-process-exit: "error"
object-curly-newline: ["error", { "consistent": true, "multiline": true }]
object-curly-spacing: ["error", "always"]
object-property-newline: ["error", { "allowAllPropertiesOnSameLine": true }]
Expand Down

0 comments on commit 0a97853

Please sign in to comment.