Skip to content

Commit

Permalink
ESlint >3
Browse files Browse the repository at this point in the history
  • Loading branch information
ROSSROSALES committed Oct 18, 2022
1 parent 66365c0 commit 462750e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/lib/rules/sort-prop-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ ruleTester.run('sort-prop-types', rule, {
},
],
},
semver.satisfies(eslintPkg.version, '>= 3') ? {
semver.satisfies(eslintPkg.version, '> 3') ? {
code: `
var First = createReactClass({
propTypes: {
Expand Down Expand Up @@ -1886,7 +1886,7 @@ ruleTester.run('sort-prop-types', rule, {
},
],
},
semver.satisfies(eslintPkg.version, '>= 3') ? {
semver.satisfies(eslintPkg.version, '> 3') ? {
code: `
var First = createReactClass({
propTypes: {
Expand Down Expand Up @@ -1926,7 +1926,7 @@ ruleTester.run('sort-prop-types', rule, {
},
],
} : [],
semver.satisfies(eslintPkg.version, '>= 3') ? {
semver.satisfies(eslintPkg.version, '> 3') ? {
code: `
var First = createReactClass({
propTypes: {
Expand Down Expand Up @@ -1966,7 +1966,7 @@ ruleTester.run('sort-prop-types', rule, {
},
],
} : [],
semver.satisfies(eslintPkg.version, '>= 3') ? {
semver.satisfies(eslintPkg.version, '> 3') ? {
code: `
var First = createReactClass({
propTypes: {
Expand Down Expand Up @@ -2006,7 +2006,7 @@ ruleTester.run('sort-prop-types', rule, {
},
],
} : [],
semver.satisfies(eslintPkg.version, '>= 3') ? {
semver.satisfies(eslintPkg.version, '> 3') ? {
code: `
var First = createReactClass({
propTypes: {
Expand Down Expand Up @@ -2042,7 +2042,7 @@ ruleTester.run('sort-prop-types', rule, {
},
],
} : [],
semver.satisfies(eslintPkg.version, '>= 3') ? {
semver.satisfies(eslintPkg.version, '> 3') ? {
code: `
class Component extends React.Component {
render() {
Expand Down

0 comments on commit 462750e

Please sign in to comment.