quasar-ui-sellmate-ui-kit 3.0.2 → 3.0.3

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/.eslintrc.cjs CHANGED
@@ -1,73 +1,73 @@
1
- /* eslint-disable */
2
- module.exports = {
3
- root: false,
4
- env: {
5
- node: true,
6
- es2021: true,
7
- 'vue/setup-compiler-macros': true,
8
- },
9
- extends: ['plugin:@typescript-eslint/recommended', 'plugin:vue/vue3-essential', 'airbnb-base'],
10
- parserOptions: {
11
- parser: require.resolve('@typescript-eslint/parser'),
12
- ecmaVersion: 2023,
13
- extraFileExtensions: ['.vue'],
14
- sourceType: 'module',
15
- requireConfigFile: false,
16
- },
17
- plugins: [
18
- 'import',
19
- '@typescript-eslint',
20
- 'vue',
21
- ],
22
- globals: {
23
- __UI_VERSION__: 'readonly',
24
- process: 'readonly',
25
- cy: true,
26
- },
27
- rules: {
28
- 'no-param-reassign': 'off',
29
- 'no-void': 'off',
30
- 'no-nested-ternary': 'off',
31
- 'max-classes-per-file': 'off',
32
-
33
- 'import/first': 'off',
34
- 'import/named': 'off',
35
- 'import/namespace': 'error',
36
- 'import/default': 'error',
37
- 'import/export': 'error',
38
- 'import/extensions': 'off',
39
- 'import/no-unresolved': 'off',
40
- 'import/no-extraneous-dependencies': 'off',
41
- 'import/prefer-default-export': 'off',
42
- 'prefer-promise-reject-errors': 'off',
43
- indent: 'off',
44
- 'max-len': ['warn', {
45
- code: 100,
46
- tabWidth: 1,
47
- ignoreUrls: true,
48
- ignoreComments: true,
49
- ignoreRegExpLiterals: true,
50
- ignoreStrings: true,
51
- ignoreTemplateLiterals: true,
52
- }],
53
- 'no-console': [
54
- process.env.NODE_ENV === 'production' ? 'error' : 'off',
55
- { allow: ['error', 'info', 'warn'] },
56
- ],
57
- 'linebreak-style': 0,
58
- 'arrow-parens': 'off',
59
- 'no-bitwise': ['error', { allow: ['>>'] }],
60
- 'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
61
- 'object-curly-newline': 'off',
62
-
63
- // this rule, if on, would require explicit return type on the `render` function
64
- '@typescript-eslint/explicit-function-return-type': 'off',
65
-
66
- // in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
67
- '@typescript-eslint/no-var-requires': 'off',
68
- 'vue/no-multiple-template-root': 'off',
69
- 'vue/multi-word-component-names': 'off',
70
- 'vue/no-v-for-template-key': 'off',
71
- 'vue/no-v-text-v-html-on-component': 'off',
72
- },
73
- };
1
+ /* eslint-disable */
2
+ module.exports = {
3
+ root: false,
4
+ env: {
5
+ node: true,
6
+ es2021: true,
7
+ 'vue/setup-compiler-macros': true,
8
+ },
9
+ extends: ['plugin:@typescript-eslint/recommended', 'plugin:vue/vue3-essential', 'airbnb-base'],
10
+ parserOptions: {
11
+ parser: require.resolve('@typescript-eslint/parser'),
12
+ ecmaVersion: 2021,
13
+ extraFileExtensions: ['.vue'],
14
+ sourceType: 'module',
15
+ requireConfigFile: false,
16
+ },
17
+ plugins: [
18
+ 'import',
19
+ '@typescript-eslint',
20
+ 'vue',
21
+ ],
22
+ globals: {
23
+ __UI_VERSION__: 'readonly',
24
+ process: 'readonly',
25
+ cy: true,
26
+ },
27
+ rules: {
28
+ 'no-param-reassign': 'off',
29
+ 'no-void': 'off',
30
+ 'no-nested-ternary': 'off',
31
+ 'max-classes-per-file': 'off',
32
+
33
+ 'import/first': 'off',
34
+ 'import/named': 'off',
35
+ 'import/namespace': 'error',
36
+ 'import/default': 'error',
37
+ 'import/export': 'error',
38
+ 'import/extensions': 'off',
39
+ 'import/no-unresolved': 'off',
40
+ 'import/no-extraneous-dependencies': 'off',
41
+ 'import/prefer-default-export': 'off',
42
+ 'prefer-promise-reject-errors': 'off',
43
+ indent: 'off',
44
+ 'max-len': ['warn', {
45
+ code: 100,
46
+ tabWidth: 1,
47
+ ignoreUrls: true,
48
+ ignoreComments: true,
49
+ ignoreRegExpLiterals: true,
50
+ ignoreStrings: true,
51
+ ignoreTemplateLiterals: true,
52
+ }],
53
+ 'no-console': [
54
+ process.env.NODE_ENV === 'production' ? 'error' : 'off',
55
+ { allow: ['error', 'info', 'warn'] },
56
+ ],
57
+ 'linebreak-style': 0,
58
+ 'arrow-parens': 'off',
59
+ 'no-bitwise': ['error', { allow: ['>>'] }],
60
+ 'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
61
+ 'object-curly-newline': 'off',
62
+
63
+ // this rule, if on, would require explicit return type on the `render` function
64
+ '@typescript-eslint/explicit-function-return-type': 'off',
65
+
66
+ // in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
67
+ '@typescript-eslint/no-var-requires': 'off',
68
+ 'vue/no-multiple-template-root': 'off',
69
+ 'vue/multi-word-component-names': 'off',
70
+ 'vue/no-v-for-template-key': 'off',
71
+ 'vue/no-v-text-v-html-on-component': 'off',
72
+ },
73
+ };