-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor:
create-react-app react-google-maps
- Loading branch information
Showing
126 changed files
with
471 additions
and
1,866 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 |
---|---|---|
|
@@ -33,5 +33,8 @@ ratings: | |
# exclude_paths key. | ||
|
||
exclude_paths: | ||
- coverage/** | ||
- docs/** | ||
- lib/** | ||
- public/** | ||
|
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,3 +1,4 @@ | ||
**/node_modules/** | ||
coverage/** | ||
docs/** | ||
lib/** | ||
public/** |
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,39 +1,10 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"env": { | ||
"browser": true, | ||
"mocha": true, | ||
"node": true, | ||
}, | ||
"ecmaFeatures": { | ||
"arrowFunctions": true, | ||
"classes": true, | ||
"modules": true, | ||
"jsx": true | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"extends": "react-app", | ||
"rules": { | ||
// Possible Errors | ||
"comma-dangle": [2, "always-multiline"], | ||
// Best Practices | ||
"consistent-return": [0], | ||
"no-else-return": [0], | ||
"yoda": [2, "never", {"exceptRange": true}], | ||
// Variables | ||
"no-use-before-define": [2, "nofunc"], | ||
"no-unused-vars": [2, {"args": "none"}], | ||
"comma-dangle": ["error", "always-multiline"], | ||
// Stylistic Issues | ||
"camelcase": [0], | ||
"no-underscore-dangle": [0], | ||
"quotes": [2, "backtick"], | ||
// React extensions | ||
"react/sort-comp": [1], | ||
"react/prop-types": [1], | ||
}, | ||
"globals": { | ||
"google": true, | ||
"jsx-quotes": ["error", "prefer-double"], | ||
"quotes": ["error", "backtick"] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- '5' | ||
- '4' | ||
before_install: | ||
- git submodule update --init | ||
- npm install -g npm | ||
install: | ||
- npm install | ||
- cd examples/gh-pages && npm install && cd ../.. | ||
- cd examples/simple-map && npm install && cd ../.. | ||
- '6' | ||
script: | ||
- npm run test:cov | ||
- npm test -- --coverage | ||
after_script: | ||
- if [[ `node --version` == *v4* ]]; then cat ./coverage/lcov.info | ./node_modules/.bin/codeclimate-test-reporter; fi | ||
- if [[ `node --version` == *v6* ]]; then cat ./coverage/lcov.info | ./node_modules/.bin/codeclimate-test-reporter; | ||
fi | ||
env: | ||
global: | ||
secure: gYr2P0NQiF4sdolyrwfAURyM/SWPeYvYjhZdVQrGC1RszfpKFJuXvUAZsxA8zdco+oPTn1YeVbbqvOL+ZwAAZr58N9Ou0v/wwDc7XPRpn1odAHTFi5o5yAmX12SIKmt7O9UeT/hIu0ejyd85d2XHsQiGdVWDno4nrNZUnar/PgE= |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.