Skip to content

Commit

Permalink
feat(quotes): allow template literals
Browse files Browse the repository at this point in the history
eslint@2.8.0 has new options for quotes which allow the use of template literals alongside the other
types of quotes. As this change requires a specific version of eslint I bumped the peerDependancy
too
  • Loading branch information
BarryThePenguin authored and Kent C. Dodds committed Apr 15, 2016
1 parent 1e1223a commit 4e2f409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
"import",
],
"rules": {
"quotes": [2, "single", "avoid-escape"],
"quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"no-use-before-define": [2, "nofunc"],
"no-unused-expressions": 0,
"strict": 0,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"eslint-plugin-import": "1.4.0"
},
"peerDependencies": {
"eslint": "^2.0.0"
"eslint": "^2.8.0"
},
"devDependencies": {
"babel-eslint": "6.0.2",
"commitizen": "2.7.2",
"cz-conventional-changelog": "1.1.5",
"eslint": "2.4.0",
"eslint": "2.8.0",
"eslint-find-new-rules": "1.0.0",
"eslint-import-resolver-webpack": "0.2.0",
"eslint-plugin-react": "4.2.3",
Expand Down

0 comments on commit 4e2f409

Please sign in to comment.