Skip to content

Instantly share code, notes, and snippets.

@adnasa
Created September 26, 2016 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adnasa/0656a63101133d2e50a6075637e73ac4 to your computer and use it in GitHub Desktop.
Save adnasa/0656a63101133d2e50a6075637e73ac4 to your computer and use it in GitHub Desktop.
hotfix/correct-eslint-error
➜ dext git:(hotfix/correct-eslint-error) npm run lint
> dext@0.4.0 lint /Users/adnasa/Sites/sandbox/js/node/dext
> eslint app
The react/require-extension rule is deprecated. Please use the import/extensions rule from eslint-plugin-import instead.
/Users/adnasa/Sites/sandbox/js/node/dext/app/main/index.js
59:17 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
149:21 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
180:30 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
185:30 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
191:21 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
199:29 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
214:15 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
252:33 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
325:32 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
/Users/adnasa/Sites/sandbox/js/node/dext/app/main/plugins.js
17:54 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
21:23 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
38:24 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
52:26 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
76:55 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
78:43 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
101:37 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
128:23 error Unexpected parentheses around single function argument having a body with no curly braces arrow-parens
128:52 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
131:11 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
161:53 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
199:54 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
213:31 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
240:38 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
261:56 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
273:36 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
290:61 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
307:33 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
/Users/adnasa/Sites/sandbox/js/node/dext/app/main/themes.js
10:42 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
/Users/adnasa/Sites/sandbox/js/node/dext/app/renderer/src/components/QueryField.js
39:16 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
/Users/adnasa/Sites/sandbox/js/node/dext/app/renderer/src/components/ResultList.js
52:73 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
/Users/adnasa/Sites/sandbox/js/node/dext/app/renderer/src/containers/QueryFieldContainer.js
54:14 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
/Users/adnasa/Sites/sandbox/js/node/dext/app/renderer/src/containers/ResultListContainer.js
107:16 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
✖ 32 problems (32 errors, 0 warnings)
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! dext@0.4.0 lint: `eslint app`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dext@0.4.0 lint script 'eslint app'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the dext package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint app
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs dext
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls dext
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/adnasa/Sites/sandbox/js/node/dext/npm-debug.log
➜ dext git:(hotfix/correct-eslint-error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment