You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e61c23c634
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. |
9 years ago | |
---|---|---|
.. | ||
compiler | 9 years ago | |
utils | 9 years ago | |
.eslintrc.json | 9 years ago | |
compiler.js | 9 years ago | |
grammar-error.js | 9 years ago | |
parser.js | 9 years ago | |
peg.js | 9 years ago |