0

I was checking for eslint rules and try adding custom eslint rule within a particular js file in sublime-text3

added 2 rule for same property as below

/*eslint no-console: "error"*/
/*eslint no-console: ["error", { allow: ["warn", "error"] }] */

'use strict';

then which rule will be implied?

also have .eslintrc file but do not want to add rules from that file.

idleberg
  • 12,634
  • 7
  • 43
  • 70
xkeshav
  • 53,360
  • 44
  • 177
  • 245
  • 1
    Please only add tags that are relevant to the question. Since this is not a Sublime Text specific question, I have removed the tag. – idleberg Sep 20 '17 at 11:54
  • I suppose that it may be necessary to specify in which environment I am applying the rule. thanks for the information. – xkeshav Sep 20 '17 at 17:01

0 Answers0