Skip to content

Commit

Permalink
Remove React imports, update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbouslog committed Sep 11, 2023
1 parent a312a5b commit 4d11701
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
"parser": "@babel/eslint-parser",
"rules": {
"react/jsx-boolean-value": ["error","always"],
"react/jsx-no-bind": "off",
"react/no-multi-comp": 0,
"react/prefer-es6-class": 0,
"react/prefer-stateless-function": 0,
"react/no-multi-comp": 0,
"react/react-in-jsx-scope": 0,
"array-callback-return": "off",
"arrow-body-style": ["warn", "as-needed"],
"comma-dangle": ["warn", "never"],
"import/extensions": "off",
"import/no-unresolved": "off",
"indent": ["warn", 2, {"SwitchCase": 1}],
"react/jsx-no-bind": "off",
"max-len": [1, 120, 2, {
"ignoreUrls": true,
"ignoreComments": true
Expand Down
2 changes: 1 addition & 1 deletion app/pages/notifications/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import counterpart from 'counterpart';
import { shape, string } from 'prop-types';
import React, { Component } from 'react';
import { Component } from 'react';
import { Helmet } from 'react-helmet';
import Translate from 'react-translate-component';
import talkClient from 'panoptes-client/lib/talk-client';
Expand Down
2 changes: 1 addition & 1 deletion app/pages/notifications/notification-section.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { Component } from 'react';
import apiClient from 'panoptes-client/lib/api-client';
import talkClient from 'panoptes-client/lib/talk-client';
import { Link } from 'react-router';
Expand Down

0 comments on commit 4d11701

Please sign in to comment.