This repository was archived by the owner on Jun 8, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "parser": "babel-eslint",
2+ "parserOptions": {
3+ "ecmaVersion": 6,
4+ "sourceType": "module",
5+ "ecmaFeatures": {
6+ "experimentalObjectRestSpread": true
7+ }
8+ },
39 "extends": "eslint:recommended",
410 "env": {
511 "es6": true,
612 "node": true
713 },
8- "ecmaFeatures": {
9- "modules": true
10- },
1114 "rules": {
1215 "no-console": 0,
1316
1720 "indent": [2, 4],
1821 "linebreak-style": [2, "unix"],
1922 "prefer-arrow-callback": 2,
20- "quotes": [2, "single"],
23+ "quotes": [2, "single", "avoid-escape" ],
2124 "semi": [2, "always"],
2225 "strict": [2, "never"],
2326 "yoda": [2, "never"],
Original file line number Diff line number Diff line change 1616 },
1717 "devDependencies" : {
1818 "babel-cli" : " ^6.1.18" ,
19- "babel-eslint" : " ^4.1.5" ,
2019 "babel-plugin-transform-object-rest-spread" : " ^6.1.18" ,
2120 "babel-plugin-transform-runtime" : " ^6.1.18" ,
2221 "babel-preset-es2015" : " ^6.1.18" ,
23- "eslint" : " ^1 .9.0" ,
22+ "eslint" : " ^2 .9.0" ,
2423 "rimraf" : " ^2.4.3"
2524 },
2625 "scripts" : {
Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ export default function () {
223223 if ( ! ( messageObj && messageObj . isObjectExpression ( ) ) ) {
224224 throw path . buildCodeFrameError (
225225 `[React Intl] \`${ callee . node . name } ()\` must be ` +
226- ` called with message descriptors defined as ` +
227- ` object expressions.`
226+ ' called with message descriptors defined as ' +
227+ ' object expressions.'
228228 ) ;
229229 }
230230
You can’t perform that action at this time.
0 commit comments