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.
d7d5f375f1
redux
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'd7d5f375f1'
${ noResults }
pegjs
/
.eslintrc.json
11 lines
122 B
JSON
Raw
Normal View
History
Unescape
Escape
Use ESLint instead of JSHint Implement the swap and change various directives in the source code. The "make hint" target becomes "make lint". The change leads to quite some errors being reported by ESLint. These will be fixed in subsequent commits. Note the configuration enables just the recommended rules. Later I plan to enable more rules to enforce the coding standard. The configuration also sets the environment to "node", which is far from ideal as the codebase contains a mix of CommonJS, Node.js and browser code. I hope to clean this up at some point.
9 years ago
{
Set "linebreak-style" rule to 0
8 years ago
"extends"
:
"dmajda"
,
Updated ESLint configuration files - added "root" option to main config - moved "env.commonjs" to root
7 years ago
"env"
:
{
"commonjs"
:
true
}
,
"root"
:
true
,
Set "linebreak-style" rule to 0
8 years ago
"rules"
:
{
"linebreak-style"
:
0
}
Use ESLint instead of JSHint Implement the swap and change various directives in the source code. The "make hint" target becomes "make lint". The change leads to quite some errors being reported by ESLint. These will be fixed in subsequent commits. Note the configuration enables just the recommended rules. Later I plan to enable more rules to enforce the coding standard. The configuration also sets the environment to "node", which is far from ideal as the codebase contains a mix of CommonJS, Node.js and browser code. I hope to clean this up at some point.
9 years ago
}