Skip to content

Commit

Permalink
[change] update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Nov 29, 2016
1 parent 582acdb commit f1e1970
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/aria-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
/* eslint react/prefer-stateless-function: 0*/
/* eslint react/prefer-es6-class: 0*/
/* eslint react/prop-types: 0*/
/* eslint react/jsx-indent: 0*/
/* eslint object-shorthand: 0*/
// <!START
// Bad
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/aria-role.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/prefer-es6-class: 0*/
/* eslint react/prop-types: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/href-no-hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/* eslint react/prefer-es6-class: 0*/
/* eslint react/prop-types: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/img-redundant-alt.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/* eslint react/prefer-es6-class: 0*/
/* eslint react/prop-types: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/prop-types: 0*/
/* eslint react/jsx-sort-props: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
<div onMouseOver={() => {}} />;
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/onclick-has-focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/prop-types: 0*/
/* eslint react/jsx-sort-props: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
<span onClick="submitForm();">Submit</span>;
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/onclick-has-role.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/* eslint react/jsx-sort-props: 0*/
/* eslint react/jsx-no-undef: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
<div onClick={() => {}} />;
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react-a11y/tabindex-no-positive.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
/* eslint react/jsx-sort-props: 0*/
/* eslint react/jsx-no-undef: 0*/
/* eslint object-shorthand: 0*/
/* eslint react/jsx-indent: 0*/
// DESCRIPTION = Enforce tabIndex value is not greater than zero.
// STATUS = 0

Expand Down
4 changes: 3 additions & 1 deletion test/es6-react/rules/react/jsx-curly-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/* eslint react/jsx-first-prop-new-line: 0*/
/* eslint object-shorthand: 0*/
/* eslint no-unused-expressions: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand All @@ -32,6 +33,7 @@
<Hello name={{ firstname: 'John', lastname: 'Doe' }} />;
<Hello name={
firstname
} />;
}
/>;
// END!>

1 change: 1 addition & 0 deletions test/es6-react/rules/react/jsx-equals-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/jsx-no-undef: 0*/
/* eslint object-shorthand: 0*/
/* eslint no-unused-expressions: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react/jsx-handler-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/jsx-no-undef: 0*/
/* eslint object-shorthand: 0*/
/* eslint no-unused-expressions: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react/jsx-max-props-per-line.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/jsx-no-undef: 0*/
/* eslint object-shorthand: 0*/
/* eslint no-unused-expressions: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react/jsx-no-undef.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/prop-types: 0*/
/* eslint object-shorthand: 0*/
/* eslint no-unused-expressions: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down
1 change: 1 addition & 0 deletions test/es6-react/rules/react/jsx-space-before-closing.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/* eslint react/jsx-no-undef: 0*/
/* eslint object-shorthand: 0*/
/* eslint no-unused-expressions: 0*/
/* eslint react/jsx-indent: 0*/
// <!START
// Bad
/*
Expand Down

0 comments on commit f1e1970

Please sign in to comment.