This commit is contained in:
renovate[bot] 2019-06-03 18:56:13 +02:00 коммит произвёл William Durand
Родитель a2a351a8cb
Коммит 32c493bfc2
5 изменённых файлов: 370 добавлений и 265 удалений

Просмотреть файл

@ -54,7 +54,10 @@
"amo/only-log-strings": ["error", { "amo/only-log-strings": ["error", {
"methods": ["fatal", "info", "error", "warn"] "methods": ["fatal", "info", "error", "warn"]
}], }],
"react/default-props-match-prop-types": "off" "react/default-props-match-prop-types": "off",
// This rule is disabled because it outputs a lot of false positives, see:
// https://github.com/benmosher/eslint-plugin-import/issues/1343
"import/no-cycle": "off"
}, },
"settings": { "settings": {
"import/core-modules": [ "import/core-modules": [

Просмотреть файл

@ -62,6 +62,10 @@ type Props = {|
|}; |};
// If you add a new route here, check that the nginx rules maintained by ops // If you add a new route here, check that the nginx rules maintained by ops
//
// TODO: remove the comment below once
// https://github.com/yannickcr/eslint-plugin-react/issues/2298 is fixed.
// eslint-disable-next-line react/prop-types
const Routes = ({ _config = config }: Props = {}) => ( const Routes = ({ _config = config }: Props = {}) => (
<Switch> <Switch>
<Route exact path="/:lang/about" component={About} /> <Route exact path="/:lang/about" component={About} />

Просмотреть файл

@ -18,6 +18,9 @@ type Props = {|
export const DISCO_PANE_PATH = export const DISCO_PANE_PATH =
'/:lang/firefox/discovery/pane/:version/:platform/:compatibilityMode'; '/:lang/firefox/discovery/pane/:version/:platform/:compatibilityMode';
// TODO: remove the comment below once
// https://github.com/yannickcr/eslint-plugin-react/issues/2298 is fixed.
// eslint-disable-next-line react/prop-types
const Routes = ({ _config = config }: Props = {}) => ( const Routes = ({ _config = config }: Props = {}) => (
<Switch> <Switch>
<Route exact path={DISCO_PANE_PATH} component={DiscoPane} /> <Route exact path={DISCO_PANE_PATH} component={DiscoPane} />

Просмотреть файл

@ -4,6 +4,9 @@ import { storiesOf } from '@storybook/react';
import IconRecommendedBadge from 'ui/components/IconRecommendedBadge'; import IconRecommendedBadge from 'ui/components/IconRecommendedBadge';
// TODO: remove the comment below once
// https://github.com/yannickcr/eslint-plugin-react/issues/2298 is fixed.
// eslint-disable-next-line react/prop-types
const render = ({ size = 'large' } = {}) => { const render = ({ size = 'large' } = {}) => {
return <IconRecommendedBadge size={size} />; return <IconRecommendedBadge size={size} />;
}; };

620
yarn.lock

Разница между файлами не показана из-за своего большого размера Загрузить разницу