vue-chat-im 1.1.19-rc.5 → 1.1.19-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-chat-im",
3
- "version": "1.1.19-rc.5",
3
+ "version": "1.1.19-rc.7",
4
4
  "private": false,
5
5
  "main": "lib/chatIM.umd.min.js",
6
6
  "scripts": {
package/.eslintignore DELETED
@@ -1,5 +0,0 @@
1
- build/*.js
2
- src/assets
3
- public
4
- dist
5
- lib
package/.eslintrc.js DELETED
@@ -1,277 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- parserOptions: {
4
- parser: 'babel-eslint',
5
- sourceType: 'module'
6
- },
7
- env: {
8
- browser: true,
9
- node: true,
10
- es6: true
11
- },
12
- extends: ['plugin:vue/recommended', 'eslint:recommended'],
13
-
14
- rules: {
15
- 'vue/max-attributes-per-line': [
16
- 2,
17
- {
18
- singleline: 10,
19
- multiline: {
20
- max: 1,
21
- allowFirstLine: false
22
- }
23
- }
24
- ],
25
- 'vue/singleline-html-element-content-newline': 'off',
26
- 'vue/multiline-html-element-content-newline': 'off',
27
- 'vue/name-property-casing': ['error', 'PascalCase'],
28
- 'vue/no-v-html': 'off',
29
- 'vue/html-self-closing': [
30
- 'error',
31
- {
32
- html: {
33
- void: 'always',
34
- normal: 'any',
35
- component: 'any'
36
- },
37
- svg: 'always',
38
- math: 'always'
39
- }
40
- ],
41
- 'accessor-pairs': 2,
42
- 'arrow-spacing': [
43
- 2,
44
- {
45
- before: true,
46
- after: true
47
- }
48
- ],
49
- 'block-spacing': [2, 'always'],
50
- 'brace-style': [
51
- 2,
52
- '1tbs',
53
- {
54
- allowSingleLine: true
55
- }
56
- ],
57
- camelcase: [
58
- 0,
59
- {
60
- properties: 'always'
61
- }
62
- ],
63
- 'comma-dangle': [2, 'never'],
64
- 'comma-spacing': [
65
- 2,
66
- {
67
- before: false,
68
- after: true
69
- }
70
- ],
71
- 'comma-style': [2, 'last'],
72
- 'constructor-super': 2,
73
- curly: [2, 'multi-line'],
74
- 'dot-location': [2, 'property'],
75
- 'eol-last': 2,
76
- eqeqeq: ['error', 'always', { null: 'ignore' }],
77
- 'generator-star-spacing': [
78
- 2,
79
- {
80
- before: true,
81
- after: true
82
- }
83
- ],
84
- 'handle-callback-err': [2, '^(err|error)$'],
85
- indent: [
86
- 2,
87
- 2,
88
- {
89
- SwitchCase: 1
90
- }
91
- ],
92
- 'jsx-quotes': [2, 'prefer-single'],
93
- 'key-spacing': [
94
- 2,
95
- {
96
- beforeColon: false,
97
- afterColon: true
98
- }
99
- ],
100
- 'keyword-spacing': [
101
- 2,
102
- {
103
- before: true,
104
- after: true
105
- }
106
- ],
107
- 'new-cap': [
108
- 2,
109
- {
110
- newIsCap: true,
111
- capIsNew: false
112
- }
113
- ],
114
- 'new-parens': 2,
115
- 'no-array-constructor': 2,
116
- 'no-caller': 2,
117
- 'no-console': 'off',
118
- 'no-class-assign': 2,
119
- 'no-cond-assign': 2,
120
- 'no-const-assign': 2,
121
- 'no-control-regex': 0,
122
- 'no-delete-var': 2,
123
- 'no-dupe-args': 2,
124
- 'no-dupe-class-members': 2,
125
- 'no-dupe-keys': 2,
126
- 'no-duplicate-case': 2,
127
- 'no-empty-character-class': 2,
128
- 'no-empty-pattern': 2,
129
- 'no-eval': 2,
130
- 'no-ex-assign': 2,
131
- 'no-extend-native': 2,
132
- 'no-extra-bind': 2,
133
- 'no-extra-boolean-cast': 2,
134
- 'no-extra-parens': [2, 'functions'],
135
- 'no-fallthrough': 2,
136
- 'no-floating-decimal': 2,
137
- 'no-func-assign': 2,
138
- 'no-implied-eval': 2,
139
- 'no-inner-declarations': [2, 'functions'],
140
- 'no-invalid-regexp': 2,
141
- 'no-irregular-whitespace': 2,
142
- 'no-iterator': 2,
143
- 'no-label-var': 2,
144
- 'no-labels': [
145
- 2,
146
- {
147
- allowLoop: false,
148
- allowSwitch: false
149
- }
150
- ],
151
- 'no-lone-blocks': 2,
152
- 'no-mixed-spaces-and-tabs': 2,
153
- 'no-multi-spaces': 2,
154
- 'no-multi-str': 2,
155
- 'no-multiple-empty-lines': [
156
- 2,
157
- {
158
- max: 1
159
- }
160
- ],
161
- 'no-native-reassign': 2,
162
- 'no-negated-in-lhs': 2,
163
- 'no-new-object': 2,
164
- 'no-new-require': 2,
165
- 'no-new-symbol': 2,
166
- 'no-new-wrappers': 2,
167
- 'no-obj-calls': 2,
168
- 'no-octal': 2,
169
- 'no-octal-escape': 2,
170
- 'no-path-concat': 2,
171
- 'no-proto': 2,
172
- 'no-redeclare': 2,
173
- 'no-regex-spaces': 2,
174
- 'no-return-assign': [2, 'except-parens'],
175
- 'no-self-assign': 2,
176
- 'no-self-compare': 2,
177
- 'no-sequences': 2,
178
- 'no-shadow-restricted-names': 2,
179
- 'no-spaced-func': 2,
180
- 'no-sparse-arrays': 2,
181
- 'no-this-before-super': 2,
182
- 'no-throw-literal': 2,
183
- 'no-trailing-spaces': 2,
184
- 'no-undef': 2,
185
- 'no-undef-init': 2,
186
- 'no-unexpected-multiline': 2,
187
- 'no-unmodified-loop-condition': 2,
188
- 'no-unneeded-ternary': [
189
- 2,
190
- {
191
- defaultAssignment: false
192
- }
193
- ],
194
- 'no-unreachable': 2,
195
- 'no-unsafe-finally': 2,
196
- 'no-unused-vars': [
197
- 2,
198
- {
199
- vars: 'all',
200
- args: 'none'
201
- }
202
- ],
203
- 'no-useless-call': 2,
204
- 'no-useless-computed-key': 2,
205
- 'no-useless-constructor': 2,
206
- 'no-useless-escape': 0,
207
- 'no-whitespace-before-property': 2,
208
- 'no-with': 2,
209
- 'one-var': [
210
- 2,
211
- {
212
- initialized: 'never'
213
- }
214
- ],
215
- 'operator-linebreak': [
216
- 2,
217
- 'after',
218
- {
219
- overrides: {
220
- '?': 'before',
221
- ':': 'before'
222
- }
223
- }
224
- ],
225
- 'padded-blocks': [2, 'never'],
226
- quotes: [
227
- 2,
228
- 'single',
229
- {
230
- avoidEscape: true,
231
- allowTemplateLiterals: true
232
- }
233
- ],
234
- semi: [2, 'never'],
235
- 'semi-spacing': [
236
- 2,
237
- {
238
- before: false,
239
- after: true
240
- }
241
- ],
242
- 'space-before-blocks': [2, 'always'],
243
- 'space-before-function-paren': [2, { anonymous: 'ignore', named: 'never', asyncArrow: 'never' }],
244
- 'space-in-parens': [2, 'never'],
245
- 'space-infix-ops': 2,
246
- 'space-unary-ops': [
247
- 2,
248
- {
249
- words: true,
250
- nonwords: false
251
- }
252
- ],
253
- 'spaced-comment': [
254
- 2,
255
- 'always',
256
- {
257
- markers: ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ',']
258
- }
259
- ],
260
- 'template-curly-spacing': [2, 'never'],
261
- 'use-isnan': 2,
262
- 'valid-typeof': 2,
263
- 'wrap-iife': [2, 'any'],
264
- 'yield-star-spacing': [2, 'both'],
265
- yoda: [2, 'never'],
266
- 'prefer-const': 2,
267
- 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
268
- 'object-curly-spacing': [
269
- 2,
270
- 'always',
271
- {
272
- objectsInObjects: false
273
- }
274
- ],
275
- 'array-bracket-spacing': [2, 'never']
276
- }
277
- }
package/.prettierrc.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "printWidth": 150,
3
- "tabWidth": 2,
4
- "useTabs": false,
5
- "semi": false,
6
- "singleQuote": true,
7
- "arrowParens": "avoid",
8
- "bracketSpacing": true,
9
- "endOfLine": "auto",
10
- "eslintIntegration": true,
11
- "htmlWhitespaceSensitivity": "ignore",
12
- "trailingComma": "none"
13
- }