@gandalan/weblibs 1.1.12 → 1.1.13

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,56 +1,56 @@
1
1
  module.exports = {
2
- root: true,
3
- extends: [
4
- // add more generic rule sets here, such as:
5
- "eslint:recommended",
6
- "plugin:svelte/recommended",
7
- ],
8
- overrides: [
9
- {
10
- files: ["*.svelte"],
11
- parser: "svelte-eslint-parser",
12
- },
13
- ],
14
- parser: "@babel/eslint-parser",
15
- parserOptions: {
16
- requireConfigFile: false,
17
- sourceType: "module",
18
- ecmaVersion: 2020,
19
- },
20
- env: {
21
- browser: true,
22
- es2017: true,
23
- node: true,
24
- },
25
- rules: {
26
- "yoda": "error",
27
- eqeqeq: ["warn", "smart"],
28
- //indent: ['error', 4],
29
- quotes: ["error", "double"],
30
- semi: ["off", "never"],
31
- "no-multi-spaces": ["error", { ignoreEOLComments: true }],
32
- "curly": "error",
33
- "comma-spacing": "error",
34
- "brace-style": ["error", "allman"],
35
- "no-var": "error",
36
- "key-spacing": "warn",
37
- "keyword-spacing": "warn",
38
- "space-infix-ops": "warn",
39
- "arrow-spacing": "warn",
40
- "no-trailing-spaces": "error",
41
- "space-before-blocks": "warn",
42
- "no-unused-vars": ["warn", {
43
- "args": "none",
44
- }],
45
- "no-console": "warn",
46
- "no-extra-boolean-cast": "off",
47
- "no-multiple-empty-lines": ["warn", { "max": 1, "maxBOF": 0 }],
48
- "lines-between-class-members": ["warn", "always", { exceptAfterSingleLine: true }],
49
- "no-unneeded-ternary": "error",
50
- "no-else-return": ["error", { "allowElseIf": false }],
51
- "array-bracket-newline": ["error", "consistent"],
52
- "eol-last": ["error", "always"],
53
- "prefer-template": "error",
54
- "comma-dangle": ["warn", "always-multiline"],
55
- },
2
+ root: true,
3
+ extends: [
4
+ // add more generic rule sets here, such as:
5
+ "eslint:recommended",
6
+ "plugin:svelte/recommended",
7
+ ],
8
+ overrides: [
9
+ {
10
+ files: ["*.svelte"],
11
+ parser: "svelte-eslint-parser",
12
+ },
13
+ ],
14
+ parser: "@babel/eslint-parser",
15
+ parserOptions: {
16
+ requireConfigFile: false,
17
+ sourceType: "module",
18
+ ecmaVersion: 2020,
19
+ },
20
+ env: {
21
+ browser: true,
22
+ es2017: true,
23
+ node: true,
24
+ },
25
+ rules: {
26
+ "yoda": "error",
27
+ eqeqeq: ["warn", "smart"],
28
+ //indent: ['error', 4],
29
+ quotes: ["error", "double"],
30
+ semi: ["off", "never"],
31
+ "no-multi-spaces": ["error", { ignoreEOLComments: true }],
32
+ "curly": "error",
33
+ "comma-spacing": "error",
34
+ "brace-style": ["error", "allman"],
35
+ "no-var": "error",
36
+ "key-spacing": "warn",
37
+ "keyword-spacing": "warn",
38
+ "space-infix-ops": "warn",
39
+ "arrow-spacing": "warn",
40
+ "no-trailing-spaces": "error",
41
+ "space-before-blocks": "warn",
42
+ "no-unused-vars": ["warn", {
43
+ "args": "none",
44
+ }],
45
+ "no-console": "warn",
46
+ "no-extra-boolean-cast": "off",
47
+ "no-multiple-empty-lines": ["warn", { "max": 1, "maxBOF": 0 }],
48
+ "lines-between-class-members": ["warn", "always", { exceptAfterSingleLine: true }],
49
+ "no-unneeded-ternary": "error",
50
+ "no-else-return": ["error", { "allowElseIf": false }],
51
+ "array-bracket-newline": ["error", "consistent"],
52
+ "eol-last": ["error", "always"],
53
+ "prefer-template": "error",
54
+ "comma-dangle": ["warn", "always-multiline"],
55
+ },
56
56
  };
@@ -44,8 +44,7 @@
44
44
  export let classNameExpandedContent = "";
45
45
  export let classNameCellExpand = "";
46
46
 
47
- const asStringArray = v =>
48
- []
47
+ const asStringArray = v => []
49
48
  .concat(v)
50
49
  .filter(v => v !== null && typeof v === "string" && v !== "")
51
50
  .join(" ");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gandalan/weblibs",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "WebLibs for Gandalan JS/TS/Svelte projects",
5
5
  "keywords": [
6
6
  "gandalan"