This repository was archived by the owner on Jun 8, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "parser": "babel-eslint",
2
+ "parserOptions": {
3
+ "ecmaVersion": 6,
4
+ "sourceType": "module",
5
+ "ecmaFeatures": {
6
+ "experimentalObjectRestSpread": true
7
+ }
8
+ },
3
9
"extends": "eslint:recommended",
4
10
"env": {
5
11
"es6": true,
6
12
"node": true
7
13
},
8
- "ecmaFeatures": {
9
- "modules": true
10
- },
11
14
"rules": {
12
15
"no-console": 0,
13
16
17
20
"indent": [2, 4],
18
21
"linebreak-style": [2, "unix"],
19
22
"prefer-arrow-callback": 2,
20
- "quotes": [2, "single"],
23
+ "quotes": [2, "single", "avoid-escape" ],
21
24
"semi": [2, "always"],
22
25
"strict": [2, "never"],
23
26
"yoda": [2, "never"],
Original file line number Diff line number Diff line change 16
16
},
17
17
"devDependencies" : {
18
18
"babel-cli" : " ^6.1.18" ,
19
- "babel-eslint" : " ^4.1.5" ,
20
19
"babel-plugin-transform-object-rest-spread" : " ^6.1.18" ,
21
20
"babel-plugin-transform-runtime" : " ^6.1.18" ,
22
21
"babel-preset-es2015" : " ^6.1.18" ,
23
- "eslint" : " ^1 .9.0" ,
22
+ "eslint" : " ^2 .9.0" ,
24
23
"rimraf" : " ^2.4.3"
25
24
},
26
25
"scripts" : {
Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ export default function () {
223
223
if ( ! ( messageObj && messageObj . isObjectExpression ( ) ) ) {
224
224
throw path . buildCodeFrameError (
225
225
`[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.'
228
228
) ;
229
229
}
230
230
You can’t perform that action at this time.
0 commit comments