Closed
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>;
}
}