-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add eslint to dev dependencies and update the existing configuration.
- Legacy-Id: 19634
- Loading branch information
1 parent
ceb9fb4
commit 4125e71
Showing
3 changed files
with
1,177 additions
and
139 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 |
---|---|---|
@@ -1,19 +1,18 @@ | ||
module.exports = { | ||
extends: ["eslint:recommended"], | ||
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}] | ||
indent: ["error", 4], | ||
quotes: ["error", "double", { avoidEscape: true, allowTemplateLiterals: true }], | ||
"no-multiple-empty-lines": ["error", { max: 2, maxEOF: 0 }], | ||
"quote-props": ["error", "as-needed"], | ||
"brace-style": ["error", "1tbs", { allowSingleLine: true }], | ||
}, | ||
env: { | ||
browser: true, | ||
jquery: true | ||
jquery: true, | ||
node: true | ||
}, | ||
globals: { | ||
d3: true | ||
}, | ||
extends: "google" | ||
}; | ||
} | ||
}; |
Oops, something went wrong.