зеркало из https://github.com/mozilla/treeherder.git
Bug 1432840 - Fix/enable eslint 'no-useless-constructor'
https://eslint.org/docs/rules/no-useless-constructor
This commit is contained in:
Родитель
bc3b957953
Коммит
c58710501e
|
@ -57,7 +57,6 @@ module.exports = neutrino => {
|
|||
'no-shadow': 'off',
|
||||
'no-underscore-dangle': 'off',
|
||||
'no-use-before-define': 'off',
|
||||
'no-useless-constructor': 'off',
|
||||
'no-useless-escape': 'off',
|
||||
'no-var': 'off',
|
||||
'object-property-newline': 'off',
|
||||
|
|
|
@ -100,10 +100,6 @@ function AnnotationsTable(props) {
|
|||
|
||||
|
||||
export default class AnnotationsPanel extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
const dateFilter = this.props.$injector.get('$filter')('date');
|
||||
|
||||
|
|
|
@ -138,10 +138,6 @@ const ErrorsList = (props) => {
|
|||
|
||||
|
||||
class FailureSummaryPanel extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
render() {
|
||||
const escapeHTMLFilter = this.props.$injector.get('$filter')('escapeHTML');
|
||||
const highlightCommonTermsFilter = this.props.$injector.get('$filter')('highlightCommonTerms');
|
||||
|
|
Загрузка…
Ссылка в новой задаче