diff --git a/.eslintrc.js b/.eslintrc.js index ccb32bf..ee9ce95 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,6 +6,7 @@ module.exports = { "root": true, "rules": { + "no-eval": 0, "prefer-rest-params": 0, }, diff --git a/test/spec/unit/parser.spec.js b/test/spec/unit/parser.spec.js index a87e319..53dbd1a 100644 --- a/test/spec/unit/parser.spec.js +++ b/test/spec/unit/parser.spec.js @@ -800,13 +800,11 @@ describe( "PEG.js grammar parser", function () { expect( "start = '\\a'" ).to.parseAs( literalGrammar( "a", false ) ); - // The negative predicate is impossible to test with PEG.js grammar - // structure. - } ); - // The EscapeCharacter rule is impossible to test with PEG.js grammar - // structure. + // The negative predicate is impossible to test with PEG.js grammar structure. + + // The EscapeCharacter rule is impossible to test with PEG.js grammar structure. // Canonical HexEscapeSequence is "xFF". it( "parses HexEscapeSequence", function () {