Stop ESLint warnings

- about use of eval
- whitespace before comments
This commit is contained in:
Futago-za Ryuu 2018-09-05 08:54:35 +01:00
parent b92690392e
commit 60f69d6558
2 changed files with 4 additions and 5 deletions

View file

@ -6,6 +6,7 @@ module.exports = {
"root": true,
"rules": {
"no-eval": 0,
"prefer-rest-params": 0,
},

View file

@ -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 () {