Skip to content

Commit

Permalink
Add eslint to dev dependencies and update the existing configuration.
Browse files Browse the repository at this point in the history
 - Legacy-Id: 19634
  • Loading branch information
larseggert committed Nov 11, 2021
1 parent ceb9fb4 commit 4125e71
Show file tree
Hide file tree
Showing 3 changed files with 1,177 additions and 139 deletions.
21 changes: 10 additions & 11 deletions .eslintrc.js
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"
};
}
};
Loading

0 comments on commit 4125e71

Please sign in to comment.