pegjs/lib
David Majda e61c23c634 ESLint: Set environments better
Instead of setting ESLint environment to "node" globally, set it on
per-directory basis using separate .eslintrc.json files:

  Directory   Environment
  -----------------------
  bin         node
  lib         commonjs
  spec        jasmine

It was impossible to use this approach for the "benchmark" directory
which contains a mix of files used in various environments. For
benchmark/run, the environment is set inline. For the other files, as
well as spec/helpers.js, the globals are declared manually (it is
impossible to express how these files are used just by a list of
environments).

Fixes #408.
2016-01-29 14:50:38 +01:00
..
compiler Fix ESLint errors in lib/compiler/passes/generate-js.js 2016-01-22 14:02:51 +01:00
utils Remove trailing commas in object literals 2015-08-21 16:02:13 +02:00
.eslintrc.json ESLint: Set environments better 2016-01-29 14:50:38 +01:00
compiler.js Expose the AST node visitor builder via PEG.compiler.visitor 2015-12-11 14:09:38 +01:00
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 2015-07-03 13:05:41 +02:00
parser.js Fix ESLint errors in lib/parser.js 2016-01-24 21:22:21 +01:00
peg.js Update version to 0.9.0 2015-08-30 08:22:26 +02:00