Created
September 29, 2015 03:38
-
-
Save nickpresta/bc7ee16322add220b260 to your computer and use it in GitHub Desktop.
Eslint errors
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
{ | |
"extends": "eslint:recommended", | |
"parser": "babel-eslint", | |
"plugins": [ | |
"react", | |
"sorting" | |
], | |
"ecmaFeatures": { | |
"arrowFunctions": true, | |
"blockBindings": true, | |
"classes": true, | |
"defaultParams": true, | |
"destructuring": true, | |
"forOf": true, | |
"generators": false, | |
"jsx": true, | |
"modules": true, | |
"objectLiteralComputedProperties": true, | |
"objectLiteralDuplicateProperties": false, | |
"objectLiteralShorthandMethods": true, | |
"objectLiteralShorthandProperties": true, | |
"spread": true, | |
"superInFunctions": true, | |
"templateStrings": true | |
}, | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true, | |
"jasmine": true | |
}, | |
"rules": { | |
"brace-style": [2, | |
"1tbs", { | |
"allowSingleLine": true | |
}], | |
"camelcase": 2, | |
"comma-dangle": [2, "always-multiline"], | |
"comma-spacing": [2, { | |
"before": false, | |
"after": true | |
}], | |
"dot-notation": 2, | |
"eol-last": 0, | |
"eqeqeq": 2, | |
"indent": [2, 2], | |
"jsx-quotes": [2, "prefer-single"], | |
"new-cap": 0, | |
"no-console": 0, | |
"no-debugger": 0, | |
"no-extra-semi": 2, | |
"no-mixed-requires": 2, | |
"no-shadow": 2,: 2, | |
"no-underscore-dangle": 0, | |
"no-unused-vars": 2, | |
"no-var": 2, | |
"padded-blocks": [2, "never"], | |
"quotes": [2, "single"], | |
"radix": 2, | |
"react/display-name": 2, | |
"react/jsx-boolean-value": 2, | |
"react/jsx-no-undef": 2, | |
"react/jsx-sort-prop-types": 2, | |
"react/jsx-sort-props": 2, | |
"react/jsx-uses-react": 2, | |
"react/jsx-uses-vars": 2, | |
"react/no-did-mount-set-state": 2, | |
"react/no-did-update-set-state": 2, | |
"react/no-multi-comp": 2, | |
"react/no-unknown-property": 2, | |
"react/prop-types": 2, | |
"react/react-in-jsx-scope": 2, | |
"react/self-closing-comp": 2, | |
"react/wrap-multilines": 2, | |
"semi": [2, "always"], | |
"sorting/sort-object-props": [2, { | |
"ignoreCase": false, | |
"ignoreMethods": false | |
}], | |
"space-after-keywords": 2, | |
"space-before-blocks": 2, | |
"space-before-function-paren": [2, "never"], | |
"space-infix-ops": 2, | |
"space-return-throw-case": 2, | |
"spaced-comment": 2, | |
"strict": [2, "never"] | |
} | |
} |
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
eslint-plugin-sorting@0.0.1 | |
eslint-plugin-react@3.5.0 | |
$ ./node_modules/.bin/eslint --version | |
v1.5.1 | |
$ ./node_modules/.bin/eslint --debug src | |
eslint:cli Running on files +0ms | |
eslint:cli-engine Processing /Users/nickp/app/src/actions.js +41ms | |
eslint:cli-engine Linting /Users/nickp/app/src/actions.js +2ms | |
eslint:config Constructing config for /Users/nickp/app/src/actions.js +1ms | |
eslint:config Using .eslintrc and package.json files +0ms | |
eslint:config Loading /Users/nickp/app/.eslintrc +2ms | |
eslint:config Using /Users/nickp/app/.eslintrc +118ms | |
eslint:config Loading /Users/nickp/app/package.json +0ms | |
eslint:config Merging command line environment settings +2ms | |
eslint:cli-engine Load plugin react +21ms | |
eslint:cli-engine Load plugin sorting +0ms | |
eslint:cli-engine Processing /Users/nickp/app/src/utils.js +21ms | |
eslint:cli-engine Linting /Users/nickp/app/src/utils.js +0ms | |
eslint:config Constructing config for /Users/nickp/app/src/utils.js +0ms | |
eslint:config Using config from cache +0ms | |
eslint:cli-engine Linting complete in: 2162ms +22ms | |
/Users/nickp/app/src/utils.js | |
1:1 error Definition for rule 'null' was not found null | |
$ head -n1 /Users/nickp/app/src/utils.js | |
import { formatPattern } from 'react-router/lib/PatternUtils'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of the output of
eslint
was cut -- it was the same error for every file on line 1.