Skip to content
This repository was archived by the owner on Aug 27, 2020. It is now read-only.

Commit 707df7b

Browse files
committed
Upgrade airbnb dependencies
1 parent e989d30 commit 707df7b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"eslint-plugin-standard": "^3.0.1",
5757
{{/if_eq}}
5858
{{#if_eq eslintConfig "airbnb"}}
59-
"eslint-config-airbnb-base": "^11.1.3",
59+
"eslint-config-airbnb-base": "^12.0.1",
6060
"eslint-import-resolver-webpack": "^0.8.1",
6161
{{/if_eq}}
6262
{{/eslint}}
@@ -113,7 +113,7 @@
113113
"tslint-config-standard": "^6.0.1",
114114
{{/if_eq}}
115115
{{#if_eq tslintConfig "airbnb"}}
116-
"tslint-config-airbnb": "^1.1.1",
116+
"tslint-config-airbnb": "^5.3.0",
117117
{{/if_eq}}
118118
{{#if_eq compiler "typescript"}}
119119
"typescript": "^2.2.1",

template/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Vue.config.productionTip = false{{#if_eq eslintConfig "airbnb"}};{{/if_eq}}
1212

1313
/* eslint-disable no-new */
1414
new Vue({
15-
el: '#app',
1615
{{#router}}
1716
router,
1817
{{/router}}
18+
el: '#app',
1919
{{#if_eq build "runtime"}}
2020
render: h => h(App){{#if_eq eslintConfig "airbnb"}},{{/if_eq}}
2121
{{/if_eq}}

template/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Vue.config.productionTip = false{{#if_eq tslintConfig "airbnb"}};{{/if_eq}}
1515

1616
// tslint:disable-next-line:no-unused-expression
1717
new Vue({
18-
el: '#app',
1918
{{#router}}
2019
router,
2120
{{/router}}
21+
el: '#app',
2222
{{#if_eq build 'runtime'}}
2323
render: (h) => h(App)
2424
{{/if_eq}}

template/tslint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
{{#if_eq tslintConfig "airbnb"}}
1010
"extends": "tslint-config-airbnb",
1111
"rules": {
12-
"import-name": false
12+
"import-name": false,
13+
"object-shorthand-properties-first": false
1314
}
1415
{{/if_eq}}
1516
}

0 commit comments

Comments
 (0)