File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 10
10
"lint" : " eslint . --rulesdir eslint-internal-rules" ,
11
11
"pretest" : " npm run lint" ,
12
12
"preversion" : " npm run update && npm test" ,
13
- "update" : " node ./tools/update.js"
13
+ "update" : " node ./tools/update.js" ,
14
+ "install" : " node ./tools/warn-moved.js"
14
15
},
15
16
"files" : [
16
- " lib"
17
+ " lib" ,
18
+ " tools/warn-moved.js"
17
19
],
18
20
"homepage" : " https://github.com/vuejs/eslint-plugin-vue#readme" ,
19
21
"keywords" : [
49
51
"@types/node" : " ^4.2.16" ,
50
52
"babel-eslint" : " ^8.1.2" ,
51
53
"chai" : " ^4.1.0" ,
54
+ "chalk" : " ^2.3.0" ,
52
55
"eslint" : " ^4.14.0" ,
53
56
"eslint-plugin-eslint-plugin" : " ^0.8.0" ,
54
57
"eslint-plugin-html" : " ^4.0.1" ,
Original file line number Diff line number Diff line change
1
+ const chalk = require ( 'chalk' )
2
+ const log = console . log
3
+
4
+ log (
5
+ chalk . bold ( '***Warning***' )
6
+ )
7
+
8
+ log (
9
+ chalk . dim ( 'eslint-plugin-vue' ) +
10
+ ' -> ' +
11
+ chalk . green . underline ( '@vue/eslint-plugin' )
12
+ )
13
+
14
+ log (
15
+ chalk . bold ( 'eslint-plugin-vue' ) +
16
+ ' has been republished as scoped package'
17
+ )
18
+
19
+ log (
20
+ 'Please consider switching to ' +
21
+ chalk . bold ( '@vue/eslint-plugin' ) + '\n\n'
22
+ )
You can’t perform that action at this time.
0 commit comments