-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an ESLint config for use with datatracker javascript and apply it to
document_timeline.js. Also, I consider the graphical timeline stuff stable, so I'll use this commit to say: Branch ready for merge. - Legacy-Id: 10566
- Loading branch information
1 parent
0f1c823
commit bdf8089
Showing
2 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
rules: { | ||
indent: [2, 4], | ||
camelcase: 0, | ||
"require-jsdoc": 0, | ||
quotes: [2, "double"], | ||
"no-multiple-empty-lines": [2, {max: 2}], | ||
"quote-props": [2, "as-needed"], | ||
"brace-style": [2, "1tbs", {allowSingleLine: true}] | ||
}, | ||
env: { | ||
browser: true, | ||
jquery: true | ||
}, | ||
globals: { | ||
d3: true | ||
}, | ||
extends: "google" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters