Loading .babel-eslint.rc.js +2 −0 Original line number Diff line number Diff line Loading @@ -4,5 +4,7 @@ module.exports = { plugins: [ "@babel/plugin-syntax-class-properties", "@babel/plugin-syntax-jsx", ], }; .eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ const ignorePatterns = [ ]; module.exports = { parser: "babel-eslint", parser: "@babel/eslint-parser", parserOptions: { sourceType: "script", babelOptions: { Loading browser/components/newtab/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ module.exports = { "plugin:mozilla/mochitest-test", "plugin:mozilla/xpcshell-test", "plugin:prettier/recommended", // require("eslint-plugin-prettier") "prettier/react", // require("eslint-config-prettier") "prettier", // require("eslint-config-prettier") ], overrides: [ { Loading browser/components/newtab/content-src/asrouter/components/RichText/RichText.jsx +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ export function convertLinks( data-do_not_autoblock={doNotAutoBlock} data-entrypoint_name={links[linkTag].entrypoint_name} data-entrypoint_value={links[linkTag].entrypoint_value} rel="noreferrer" onClick={sendClick} /> ); Loading browser/components/newtab/content-src/components/CollapsibleSection/CollapsibleSection.jsx +2 −0 Original line number Diff line number Diff line Loading @@ -242,6 +242,8 @@ export class _CollapsibleSection extends React.PureComponent { titleStyle = { visibility: "hidden" }; } return ( // TODO: Bug 1702140: re-enable this rule. // eslint-disable-next-line jsx-a11y/role-supports-aria-props <section className={`collapsible-section ${this.props.className}${ enableAnimation ? " animation-enabled" : "" Loading Loading
.babel-eslint.rc.js +2 −0 Original line number Diff line number Diff line Loading @@ -4,5 +4,7 @@ module.exports = { plugins: [ "@babel/plugin-syntax-class-properties", "@babel/plugin-syntax-jsx", ], };
.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ const ignorePatterns = [ ]; module.exports = { parser: "babel-eslint", parser: "@babel/eslint-parser", parserOptions: { sourceType: "script", babelOptions: { Loading
browser/components/newtab/.eslintrc.js +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ module.exports = { "plugin:mozilla/mochitest-test", "plugin:mozilla/xpcshell-test", "plugin:prettier/recommended", // require("eslint-plugin-prettier") "prettier/react", // require("eslint-config-prettier") "prettier", // require("eslint-config-prettier") ], overrides: [ { Loading
browser/components/newtab/content-src/asrouter/components/RichText/RichText.jsx +1 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ export function convertLinks( data-do_not_autoblock={doNotAutoBlock} data-entrypoint_name={links[linkTag].entrypoint_name} data-entrypoint_value={links[linkTag].entrypoint_value} rel="noreferrer" onClick={sendClick} /> ); Loading
browser/components/newtab/content-src/components/CollapsibleSection/CollapsibleSection.jsx +2 −0 Original line number Diff line number Diff line Loading @@ -242,6 +242,8 @@ export class _CollapsibleSection extends React.PureComponent { titleStyle = { visibility: "hidden" }; } return ( // TODO: Bug 1702140: re-enable this rule. // eslint-disable-next-line jsx-a11y/role-supports-aria-props <section className={`collapsible-section ${this.props.className}${ enableAnimation ? " animation-enabled" : "" Loading