diff --git a/.eslintrc b/.eslintrc index 72524da..ee1e3ca 100644 --- a/.eslintrc +++ b/.eslintrc @@ -24,12 +24,13 @@ "no-underscore-dangle": [0], "no-unused-vars": [2], "no-use-before-define": [0], - "quotes": [2, "single"], - "react/display-name": [2, { "acceptTranspilerName": true }], + "quotes": [2, "single", { "allowTemplateLiterals": true }], + "react/display-name": [2], "react/jsx-no-bind": 2, "react/jsx-no-duplicate-props": 2, "react/jsx-no-undef": 2, "react/jsx-uses-react": 2, + "react/jsx-uses-vars": 2, "react/react-in-jsx-scope": 2, "react/no-unknown-property": [2], "react/prop-types": 2, @@ -37,11 +38,6 @@ "react/self-closing-comp": [2], "react/wrap-multilines": [2], "semi": [2, "always"], - "space-after-keywords": [2, "always"], - "space-before-blocks": 2, - "space-before-function-paren": [2, "never"], - "space-before-keywords": [2, "always"], - "space-in-parens": [2, "never"], "strict": [0], "valid-typeof": 2 } diff --git a/package.json b/package.json index 58f3873..2157513 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "license": "ISC", "dependencies": { "babel-cli": "^6.4.0", - "babel-eslint": "^4.1.6", + "babel-eslint": "^6.0.4", "babel-polyfill": "^6.3.14", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.3.13", @@ -34,19 +34,19 @@ "browserify": "^13.0.0", "cssnano": "^3.4.0", "es6-promise": "^3.0.2", - "eslint": "^1.10.3", + "eslint": "^2.9.0", "eslint-plugin-babel": "^3.0.0", - "eslint-plugin-react": "^3.14.0", + "eslint-plugin-react": "^5.1.1", "github-slugger": "^1.0.1", "highlight.js": "^9.2.0", "isomorphic-fetch": "^2.2.0", "lodash.debounce": "^4.0.3", "minifyify": "^7.1.0", - "react": "^0.14.6", - "react-dom": "^0.14.6", + "react": "^15.0.2", + "react-dom": "^15.0.2", "react-pure-render": "^1.0.2", - "remark": "^3.2.0", - "remark-html": "^2.0.2", + "remark": "^4.2.2", + "remark-html": "^3.0.0", "remark-slug": "^4.1.0", "unist-util-select": "^1.3.0", "unist-util-visit": "^1.0.0" @@ -56,7 +56,7 @@ "expect": "^1.13.4", "mocha": "^2.3.4", "to-vfile": "^1.0.0", - "budo": "^7.1.0", + "budo": "^8.2.2", "uglifyjs": "^2.4.10" } }