Skip to content

Instantly share code, notes, and snippets.

@ninezero90hy
Created September 3, 2021 12:50
Show Gist options
  • Save ninezero90hy/1b7ead3019f37816c41ebd0e8b10dd2e to your computer and use it in GitHub Desktop.
Save ninezero90hy/1b7ead3019f37816c41ebd0e8b10dd2e to your computer and use it in GitHub Desktop.
$ npx eslint --no-fix src
/${ProjectName}/src/App.js
7:12 error Strings must use singlequote quotes
/${ProjectName}/src/App.test.js
4:1 error 'test' is not defined no-undef
5:10 error 'React' must be in scope when using JSX react/react-in-jsx-scope
7:3 error 'expect' is not defined no-undef
/${ProjectName}/src/index.js
11:3 error 'document' is not defined no-undef
/${ProjectName}/src/reportWebVitals.js
3:5 error Parsing error: 'import' and 'export' may only appear at the top level
✖ 6 problems (6 errors, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment