Last active
August 29, 2015 14:14
-
-
Save zpao/8cae06d2428b64f205c8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/src/.eslintrc b/src/.eslintrc | |
index c9b9b50..2f75489 100644 | |
--- a/src/.eslintrc | |
+++ b/src/.eslintrc | |
@@ -1,7 +1,11 @@ | |
--- | |
-settings: | |
+ecmaFeatures: | |
jsx: true | |
- ecmascript: 6 | |
+ defaultParams: true | |
+ objectLiteralComputedProperties: true | |
+ objectLiteralShorthandMethods: true | |
+ objectLiteralShorthandProperties: true | |
+ templateStrings: true | |
env: | |
browser: true |
This file contains hidden or 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
> [email protected] lint /Users/poshannessy/FB/code/react | |
> eslint src | |
src/browser/ui/ReactDOMComponent.js | |
189:0 warning Line 189 exceeds the maximum line length of 80 max-len | |
212:0 warning Line 212 exceeds the maximum line length of 80 max-len | |
258:0 warning Line 258 exceeds the maximum line length of 80 max-len | |
src/browser/ui/ReactDOMTextComponent.js | |
64:0 warning Line 64 exceeds the maximum line length of 80 max-len | |
src/browser/ui/dom/DOMProperty.js | |
121:0 warning Line 121 exceeds the maximum line length of 80 max-len | |
src/classic/class/ReactClass.js | |
657:42 error Unexpected token | |
src/core/ReactCompositeComponent.js | |
116:0 warning Line 116 exceeds the maximum line length of 80 max-len | |
566:0 warning Line 566 exceeds the maximum line length of 80 max-len | |
src/core/ReactLifeCycle.js | |
12:0 warning Strings must use singlequote quotes | |
src/core/ReactReconciler.js | |
32:0 warning Line 32 exceeds the maximum line length of 80 max-len | |
src/core/ReactUpdateQueue.js | |
12:0 warning Strings must use singlequote quotes | |
104:26 warning Strings must use singlequote quotes | |
src/event/EventPluginUtils.js | |
118:41 error executeDispatch is already declared in the upper scope no-shadow | |
src/modern/class/ReactComponent.js | |
96:44 error methodName is already declared in the upper scope no-shadow | |
src/utils/isTextInputElement.js | |
15:0 warning Line 15 exceeds the maximum line length of 80 max-len | |
✖ 15 problems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment