Browse Source

Remove unrequired ESLint rules

master
Futago-za Ryuu 3 years ago
parent
commit
9751980261
  1. 2
      packages/pegjs/lib/compiler/passes/generate-js.js
  2. 4
      packages/pegjs/lib/compiler/session.js
  3. 1
      test/.eslintrc.js

2
packages/pegjs/lib/compiler/passes/generate-js.js

@ -1,4 +1,4 @@
/* eslint no-mixed-operators: 0, prefer-const: 0, eqeqeq: 0 */
/* eslint no-mixed-operators: 0, prefer-const: 0 */
"use strict";

4
packages/pegjs/lib/compiler/session.js

@ -1,5 +1,3 @@
/* eslint no-unused-vars: 0 */
"use strict";
const ast = require( "../ast" );
@ -50,7 +48,7 @@ class Session {
}
warn( message, location ) {}
warn( _message, _location ) {}
error( message, location ) {

1
test/.eslintrc.js

@ -5,7 +5,6 @@ module.exports = {
"extends": "futagozaryuu/test",
"rules": {
"node/shebang": 0,
"func-names": 0,
"no-mixed-operators": 0,

Loading…
Cancel
Save