diff --git a/.eslint-common.js b/.eslint-common.js index 301c0bb34e..519277643f 100644 --- a/.eslint-common.js +++ b/.eslint-common.js @@ -4,7 +4,6 @@ module.exports = { "plugin:react/recommended" ], "plugins": [ - "html", "react", "markdown" ], @@ -17,6 +16,7 @@ module.exports = { "Promise": false }, "rules": { + "no-console": "error", "indent": ["error", 2, { "SwitchCase": 1 }], "linebreak-style": ["error", "unix"], "quotes": ["error", "single", { "allowTemplateLiterals": true }], diff --git a/package.json b/package.json index b55350b6bd..30e3b93bc6 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "coveralls": "cat coverage/lcov.info | coveralls", "prepublishOnly": "npm run build", "lint:styleguide": "eslint -c .eslint-styleguide.js --ext md src/", - "lint:src": "eslint -c .eslint-src.js --ext js,jsx,html src/", + "lint:src": "eslint -c .eslint-src.js --ext js,jsx src/", "lint": "npm run lint:styleguide && npm run lint:src", "lint:fix": "npm run lint:styleguide -- --fix && npm run lint:src -- --fix", "start:styleguide": "styleguidist server", @@ -113,10 +113,9 @@ "css-loader": "3.0.0", "enzyme": "3.10.0", "enzyme-adapter-react-16": "1.14.0", - "eslint": "5.16.0", - "eslint-plugin-html": "5.0.5", + "eslint": "6.0.0", "eslint-plugin-markdown": "1.0.0", - "eslint-plugin-react": "7.14.0", + "eslint-plugin-react": "7.14.1", "file-loader": "4.0.0", "jest": "24.8.0", "jest-canvas-mock": "2.1.0",