-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Description
If I extend React.Component
using ES6 classes, how can I set order
of react/sort-comp
to put getters before render? For example
import React from 'react';
class Test extends React.Component {
get something() {
return 'something';
}
render() {
const options = this.something;
return <span>{options}</span>;
}
}
cryptiklemur, pastelsky and RDGthree