We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa9bda commit d67c64fCopy full SHA for d67c64f
1 file changed
lib/node_modules/@stdlib/_tools/eslint/rules/no-error-string-concat/README.md
@@ -73,10 +73,9 @@ var Linter = require( 'eslint' ).Linter;
73
var rule = require( '@stdlib/_tools/eslint/rules/no-error-string-concat' );
74
75
var linter = new Linter();
76
-var code = 'throw new Error( \'invalid argument. Value: `\' + value + \'`.\' );';
77
-
78
linter.defineRule( 'no-error-string-concat', rule );
79
+var code = 'throw new Error( \'invalid argument. Value: `\' + value + \'`.\' );';
80
var result = linter.verify( code, {
81
'rules': {
82
'no-error-string-concat': 'error'
0 commit comments