Lock file maintenance (#8116)
This commit is contained in:
Родитель
a2a351a8cb
Коммит
32c493bfc2
|
@ -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
620
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче