diff --git a/.eslintrc.js b/.eslintrc.js index c8afb5a..049b883 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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" + } } }; diff --git a/addon/popup.jsx b/addon/popup.jsx index 55e6723..77d53a5 100644 --- a/addon/popup.jsx +++ b/addon/popup.jsx @@ -293,7 +293,7 @@ class MailPreference extends React.Component {
-Sorry we don't support any other mail providers. Learn more
+Sorry we don't support any other mail providers. Learn more
{this.props.mailProvider ? footer : null} ; } diff --git a/package.json b/package.json index 66f448f..33373b1 100644 --- a/package.json +++ b/package.json @@ -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 .",