Skip to content

Commit f9f69e1

Browse files
obingoyyx990803
authored andcommitted
change to eslint-config-airbnb-base (#141)
* airbnb/base change to airbnb-base * update package.json
1 parent e168580 commit f9f69e1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

template/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
extends: 'standard',
66
{{/if_eq}}
77
{{#if_eq lintConfig "airbnb"}}
8-
extends: 'airbnb/base',
8+
extends: 'airbnb-base',
99
{{/if_eq}}
1010
// required to lint *.vue files
1111
plugins: [

template/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"connect-history-api-fallback": "^1.1.0",
3030
"css-loader": "^0.23.0",
3131
{{#lint}}
32-
"eslint": "^2.0.0",
33-
"eslint-friendly-formatter": "^1.2.2",
32+
"eslint": "^2.10.2",
33+
"eslint-friendly-formatter": "^2.0.5",
3434
"eslint-loader": "^1.3.0",
3535
"eslint-plugin-html": "^1.3.0",
3636
{{#if_eq lintConfig "standard"}}
@@ -39,7 +39,8 @@
3939
"eslint-plugin-standard": "^1.3.2",
4040
{{/if_eq}}
4141
{{#if_eq lintConfig "airbnb"}}
42-
"eslint-config-airbnb": "^6.2.0",
42+
"eslint-config-airbnb-base": "^3.0.1",
43+
"eslint-plugin-import": "^1.8.1",
4344
{{/if_eq}}
4445
{{/lint}}
4546
"eventsource-polyfill": "^0.9.6",

0 commit comments

Comments
 (0)