Skip to content

Commit

Permalink
Enable React lint rules
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
  • Loading branch information
thundron committed Oct 23, 2018
1 parent eeede31 commit c2c59f4
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins:
- lodash
- jsdoc
- node
- react
extends: 'standard'
parserOptions:
sourceType: 'script'
Expand Down Expand Up @@ -446,3 +447,13 @@ rules:
node/no-extraneous-import:
- error

# React

react/jsx-uses-vars:
- error

overrides:
files: ['*.jsx']
rules:
require-jsdoc:
- off
69 changes: 69 additions & 0 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"eslint-plugin-lodash": "2.6.1",
"eslint-plugin-node": "6.0.1",
"eslint-plugin-promise": "3.6.0",
"eslint-plugin-react": "7.11.1",
"eslint-plugin-standard": "3.0.1",
"html-angular-validate": "0.2.3",
"html-loader": "0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion tests/spectron/runner.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Spectron', function () {
before('app:start', function () {
app = new spectron.Application({
path: entrypoint,
port: 9996,
port: 9995,
args: [ '.' ]
})

Expand Down

0 comments on commit c2c59f4

Please sign in to comment.