зеркало из https://github.com/mozilla/email-tabs.git
Fixing eslint warnings/errors
This commit is contained in:
Родитель
caeb7853eb
Коммит
44638eae24
|
@ -15,7 +15,8 @@ module.exports = {
|
|||
},
|
||||
"plugins": [
|
||||
"jsx-a11y",
|
||||
"mozilla"
|
||||
"mozilla",
|
||||
"react"
|
||||
],
|
||||
"root": true,
|
||||
"rules": {
|
||||
|
@ -29,5 +30,10 @@ module.exports = {
|
|||
// them, but we aren't currently doing that.
|
||||
"jsx-a11y/label-has-associated-control": "off",
|
||||
"jsx-a11y/label-has-for": "off",
|
||||
},
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "16"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -293,7 +293,7 @@ class MailPreference extends React.Component {
|
|||
</div>
|
||||
|
||||
<div className="separator"></div>
|
||||
<p class="sorry">Sorry we don't support any other mail providers. <a href="https://github.com/mozilla/email-tabs/blob/master/docs/faq.md#frequently-asked-questions">Learn more</a></p>
|
||||
<p className="sorry">Sorry we don't support any other mail providers. <a href="https://github.com/mozilla/email-tabs/blob/master/docs/faq.md#frequently-asked-questions">Learn more</a></p>
|
||||
{this.props.mailProvider ? footer : null}
|
||||
</div>;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
"scripts": {
|
||||
"start": "npm-run-all build run",
|
||||
"lint": "npm-run-all lint:*",
|
||||
"lint:addon": "web-ext lint -s addon --ignore-files=build/*.js || true",
|
||||
"lint:addon": "web-ext lint -s addon --ignore-files='build/*.js' --self-hosted || true",
|
||||
"lint:js": "eslint addon --ext=js,jsx",
|
||||
"lint:styles": "stylelint ./addon/*.css",
|
||||
"preview-templates": "http-server -c-1 .",
|
||||
|
|
Загрузка…
Ссылка в новой задаче