Skip to content

Commit

Permalink
build: merge with v5
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelss95 committed Oct 12, 2021
1 parent ec18ced commit ee29109
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/eslint-plugin/src/rules/no-magic-numbers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ export default util.createRule<Options, MessageIds>({
extendsBaseRule: true,
},
schema: [schema],
messages: baseRule.meta.messages ?? {
useConst: "Number constants declarations must use 'const'.",
noMagic: 'No magic number: {{raw}}.',
},
messages: baseRule.meta.messages,
},
defaultOptions: [
{
Expand Down

0 comments on commit ee29109

Please sign in to comment.