-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infrastructure] Configure ESLint, fix any existing errors
Additional work: * Add postinstall command which runs `lerna bootstrap` Part of #4464
- Loading branch information
1 parent
87495e3
commit 1a0bc9e
Showing
9 changed files
with
83 additions
and
103 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 @@ | ||
extends: google | ||
globals: | ||
goog: false | ||
env: | ||
browser: true | ||
rules: | ||
max-len: [error, 120] | ||
no-new: warn | ||
quotes: [error, single] | ||
no-var: error | ||
curly: error | ||
no-floating-decimal: error | ||
no-unused-vars: error | ||
# Disabling jsdoc rules for the time being, but should be discussed as to whether or not this is | ||
# something we should add in. For closure compatibility, we can investigate using something like | ||
# https://github.com/angular/tsickle with .dts files. | ||
require-jsdoc: off | ||
valid-jsdoc: off | ||
prefer-const: error |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
.DS_Store | ||
/build | ||
packages/*/dist | ||
*.log |
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
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
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
Oops, something went wrong.