-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Spotify web scripts for eslint and prettier (#173)
* Added packages from spotify/web-scripts * Run prettier * Eslint clean up * Run eslint on test instead of using eslint.spec.js * Fix componentdocs file * Rebuild docs * Fix tests
- Loading branch information
1 parent
74f449d
commit e03ecf8
Showing
144 changed files
with
3,388 additions
and
2,624 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,9 @@ | ||
# Ignore charts that are still experimental | ||
/src/AreaHeatmap.js | ||
/src/KernelDensityEstimation.js | ||
|
||
# Ignore shallowEqual | ||
/src/utils/shallowEqual.js | ||
|
||
# Ignore lessons | ||
/docs/src/lessons |
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,4 +1,21 @@ | ||
{ | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"parser": "babel-eslint", | ||
"extends": ["plugin:prettier/recommended"] | ||
"extends": [ | ||
"@spotify/eslint-config-react", | ||
"@spotify/eslint-config-base", | ||
"prettier" | ||
], | ||
"plugins": ["jest"], | ||
"rules": { | ||
"consistent-return": "off", | ||
"no-nested-ternary": "off", | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"jsx-a11y/click-events-have-key-events": "off", | ||
"jsx-a11y/no-noninteractive-element-interactions": "off" | ||
} | ||
} |
38 changes: 23 additions & 15 deletions
38
docs/build/bundle.55cc64af099498182a80.js → docs/build/bundle.26d3f9623326f0ce1e06.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.