This website works better with JavaScript.
Explore
Help
Register
Sign In
joepie91
/
pegjs
Watch
1
Star
0
Fork
You've already forked pegjs
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
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.
60821bb80b
redux
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '60821bb80b'
${ noResults }
pegjs
/
bin
/
.eslintrc.json
9 lines
74 B
JSON
Raw
Normal View
History
Unescape
Escape
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.
9 years ago
{
"env"
:
{
"node"
:
true
ESLint: Disable no-console in bin/.eslintrc.json, not bin/pegjs The less clutter in JavaScript files themselves, the better.
9 years ago
}
,
"rules"
:
{
"no-console"
:
0
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.
9 years ago
}
}