Browse Source

Stop ESLint warnings

- about use of eval
- whitespace before comments
master
Futago-za Ryuu 3 years ago
parent
commit
60f69d6558
  1. 1
      .eslintrc.js
  2. 8
      test/spec/unit/parser.spec.js

1
.eslintrc.js

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

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

Loading…
Cancel
Save