tmp
Monday, February 29, 2016
Update eslint 1.10.3 -> 2.2.0
`package.json` ``` "devDependencies": { "babel-eslint": "5.0.0-beta6", "eslint": "1.10.3", "eslint-plugin-react": "3.16.1" } // ↓ "devDependencies": { "babel-eslint": "5.0.0", "eslint": "2.2.0", "eslint-plugin-react": "4.1.0" } ``` `.eslintrc` ``` : "ecmaFeatures": { "modules": true, "jsx": true, "experimentalObjectRestSpread": true }, : "rules": { "key-spacing": [2, {"mode": "minimum"}], "space-after-keywords": 2, "space-before-keywords": 2, "space-return-throw-case": 2, : "react/jsx-uses-react": 1 }, : // ↓ : "parserOptions": { "ecmaFeatures": { "modules": true, "jsx": true, "experimentalObjectRestSpread": true } }, : "rules": { "key-spacing": [2, {"mode": "minimum"}], : "react/jsx-uses-vars": 1, "react/jsx-uses-react": 1 }, : ```
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment