diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-25 07:50:25 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-25 07:50:25 +0800 |
commit | 7c2001102311d8e35f01d39ede9d5ac00e635006 (patch) | |
tree | 7ac6ad5567cb9731e8d19159ba339e4e5d73cb44 /.eslintrc | |
parent | ac3072e037ee97e87ff405d4562ce7e7c00dcd8a (diff) | |
parent | ae56b865e8a4d3a6a82a97efeca34b8a592c985b (diff) | |
download | tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.gz tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.bz2 tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.lz tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.xz tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.zst tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.zip |
Merge branch 'master' into NewUI-flat
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,4 +1,5 @@ { + "parser": "babel-eslint", "parserOptions": { "sourceType": "module", "ecmaVersion": 2017, @@ -10,10 +11,14 @@ "arrowFunctions": true, "objectLiteralShorthandMethods": true, "objectLiteralShorthandProperties": true, - "templateStrings": true + "templateStrings": true, + "classes": true, + "jsx": true }, }, + "extends": ["plugin:react/recommended"], + "env": { "es6": true, "node": true, @@ -23,7 +28,8 @@ "plugins": [ "mocha", - "chai" + "chai", + "react" ], "globals": { @@ -51,7 +57,7 @@ "generator-star-spacing": [2, { "before": true, "after": true }], "handle-callback-err": [1, "^(err|error)$" ], "indent": "off", - "jsx-quotes": [2, "prefer-single"], + "jsx-quotes": [2, "prefer-double"], "key-spacing": 1, "keyword-spacing": [2, { "before": true, "after": true }], "new-cap": [2, { "newIsCap": true, "capIsNew": false }], |