forked from redfin/react-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also pulled eslint config up to the top-level and added some README badges.
- Loading branch information
Showing
7 changed files
with
150 additions
and
112 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,109 @@ | ||
{ | ||
"globals": { | ||
"__LOGGER__": false, | ||
"SERVER_SIDE": false | ||
}, | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
"modules": true | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true, | ||
"jasmine": true | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"rules": { | ||
"camelcase": 0, | ||
"comma-dangle": [ | ||
2, | ||
"always-multiline" | ||
], | ||
"comma-spacing": 0, | ||
"consistent-return": 2, | ||
"constructor-super": 2, | ||
"curly": [ | ||
2, | ||
"multi-line" | ||
], | ||
"dot-notation": 2, | ||
"eol-last": 2, | ||
"eqeqeq": [ | ||
2, | ||
"smart" | ||
], | ||
"guard-for-in": 2, | ||
"handle-callback-err": 0, | ||
"indent": [ | ||
2, | ||
"tab" | ||
], | ||
"key-spacing": 0, | ||
"linebreak-style": [ | ||
2, | ||
"unix" | ||
], | ||
"new-cap": 0, | ||
"new-parens": 0, | ||
"no-cond-assign": [ | ||
2, | ||
"except-parens" | ||
], | ||
"no-constant-condition": 2, | ||
"no-dupe-args": 2, | ||
"no-dupe-keys": 2, | ||
"no-empty": 2, | ||
"no-eval": 2, | ||
"no-ex-assign": 2, | ||
"no-extra-bind": 2, | ||
"no-extra-semi": 0, | ||
"no-loop-func": 2, | ||
"no-mixed-requires": 0, | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-multi-spaces": 0, | ||
"no-new-func": 2, | ||
"no-obj-calls": 2, | ||
"no-path-concat": 2, | ||
"no-process-env": 2, | ||
"no-process-exit": 2, | ||
"no-redeclare": 2, | ||
"no-return-assign": 2, | ||
"no-script-url": 2, | ||
"no-self-compare": 2, | ||
"no-sequences": 0, | ||
"no-shadow": 0, | ||
"no-spaced-func": 0, | ||
"no-this-before-super": 2, | ||
"no-throw-literal": 2, | ||
"no-trailing-spaces": 2, | ||
"no-undef": 2, | ||
"no-underscore-dangle": 0, | ||
"no-unexpected-multiline": 2, | ||
"no-unreachable": 2, | ||
"no-unused-expressions": 0, | ||
"no-unused-vars": 2, | ||
"no-use-before-define": 0, | ||
"no-wrap-func": 0, | ||
"quotes": [ | ||
0, | ||
"double" | ||
], | ||
"semi": [ | ||
0, | ||
"always" | ||
], | ||
"semi-spacing": 2, | ||
"space-infix-ops": 0, | ||
"space-return-throw-case": 2, | ||
"space-unary-ops": 2, | ||
"strict": [ | ||
2, | ||
"never" | ||
], | ||
"valid-typeof": 2, | ||
"yoda": 0 | ||
} | ||
} |
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,10 @@ | ||
--- | ||
language: node_js | ||
|
||
node_js: | ||
- "4.3.2" | ||
|
||
before_script: | ||
- npm install -g gulp | ||
|
||
script: gulp travis-ci |
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 +1,6 @@ | ||
react-server monorepo. (see: [README](packages/react-server/README.md)) | ||
# react-server monorepo [![Build Status][build-badge-img][build-url] | ||
|
||
(see: [README](packages/react-server/README.md)) | ||
|
||
[build-badge-img]: https://travis-ci.org/redfin/react-server.png?branch=master | ||
[build-url]: https://travis-ci.org/robatron/gulp-chug |
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,15 @@ | ||
var gulp = require('gulp'); | ||
var chug = require('gulp-chug'); | ||
|
||
gulp.task('travis-ci', ['test', 'eslint']); | ||
|
||
// Pass-through tasks. | ||
[ | ||
'test', | ||
'eslint', | ||
].map(task => { | ||
gulp.task(task, () => gulp | ||
.src('./packages/*/gulpfile.js', {read: false}) | ||
.pipe(chug({ tasks: [task] })) | ||
) | ||
}); |
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,6 +1,10 @@ | ||
{ | ||
"private": true, | ||
"devDependencies": { | ||
"eslint": "0.24.1", | ||
"eslint-plugin-react": "3.0.0", | ||
"gulp": "3.9.1", | ||
"gulp-chug": "0.5.1", | ||
"lerna": "^1.1.0" | ||
} | ||
} | ||
} |
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