@pumpn/eslint-config 16.0.0 → 16.1.1

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.
Files changed (49) hide show
  1. package/.vscode/settings.json +14 -1
  2. package/config.js +30 -37
  3. package/deno.json +22 -22
  4. package/deno.lock +2423 -19
  5. package/eslint.config.js +13 -5
  6. package/package.json +20 -20
  7. package/plugins.js +13 -9
  8. package/rules/command.js +1 -1
  9. package/rules/depend.js +1 -1
  10. package/rules/eslint-comments.js +1 -1
  11. package/rules/github.js +1 -1
  12. package/rules/import-x/helpful-warnings.js +2 -2
  13. package/rules/import-x/static-analysis.js +1 -1
  14. package/rules/import-x/style-guide.js +10 -2
  15. package/rules/import-x.js +1 -1
  16. package/rules/jsdoc.js +3 -27
  17. package/rules/jsx-a11y.js +1 -1
  18. package/rules/layout-and-formatting.js +1 -1
  19. package/rules/no-secrets.js +1 -1
  20. package/rules/no-unsanitized.js +1 -1
  21. package/rules/perfectionist.js +19 -31
  22. package/rules/possible-problems.js +1 -1
  23. package/rules/promise.js +20 -5
  24. package/rules/react.js +1 -1
  25. package/rules/redos.js +1 -1
  26. package/rules/regexp.js +1 -1
  27. package/rules/security.js +1 -1
  28. package/rules/sonarjs.js +1 -1
  29. package/rules/stylistic/_common/min-items-for-array-newline.js +1 -1
  30. package/rules/stylistic/indent.js +0 -1
  31. package/rules/stylistic/linebreaks.js +3 -15
  32. package/rules/stylistic.js +1 -1
  33. package/rules/suggestions.js +4 -16
  34. package/rules/tailwindcss.js +1 -1
  35. package/rules/unicorn.js +19 -6
  36. package/rules.js +1 -1
  37. package/scripts/update-package-json.js +42 -22
  38. package/documentation/global.html +0 -566
  39. package/documentation/index.html +0 -135
  40. package/documentation/index.js.html +0 -35865
  41. package/documentation/scripts/app.min.js +0 -1
  42. package/documentation/scripts/linenumber.js +0 -26
  43. package/documentation/scripts/search.js +0 -39
  44. package/documentation/styles/app.min.css +0 -1
  45. package/documentation/styles/iframe.css +0 -13
  46. package/documentation/styles/prettify-jsdoc.css +0 -111
  47. package/documentation/styles/prettify-tomorrow.css +0 -132
  48. package/documentation/styles/reset.css +0 -44
  49. package/jsdoc.json +0 -51
@@ -1,13 +0,0 @@
1
- .bd__button {
2
- padding: 10px 0;
3
- text-align: right;
4
- }
5
- .bd__button > a{
6
- font-weight: 100;
7
- text-decoration: none;
8
- color: #BDC3CB;
9
- font-family: sans-serif;
10
- }
11
- .bd__button > a:hover {
12
- color: #798897;
13
- }
@@ -1,111 +0,0 @@
1
- /* JSDoc prettify.js theme */
2
-
3
- /* plain text */
4
- .pln {
5
- color: #000000;
6
- font-weight: normal;
7
- font-style: normal;
8
- }
9
-
10
- /* string content */
11
- .str {
12
- color: #006400;
13
- font-weight: normal;
14
- font-style: normal;
15
- }
16
-
17
- /* a keyword */
18
- .kwd {
19
- color: #000000;
20
- font-weight: bold;
21
- font-style: normal;
22
- }
23
-
24
- /* a comment */
25
- .com {
26
- font-weight: normal;
27
- font-style: italic;
28
- }
29
-
30
- /* a type name */
31
- .typ {
32
- color: #000000;
33
- font-weight: normal;
34
- font-style: normal;
35
- }
36
-
37
- /* a literal value */
38
- .lit {
39
- color: #006400;
40
- font-weight: normal;
41
- font-style: normal;
42
- }
43
-
44
- /* punctuation */
45
- .pun {
46
- color: #000000;
47
- font-weight: bold;
48
- font-style: normal;
49
- }
50
-
51
- /* lisp open bracket */
52
- .opn {
53
- color: #000000;
54
- font-weight: bold;
55
- font-style: normal;
56
- }
57
-
58
- /* lisp close bracket */
59
- .clo {
60
- color: #000000;
61
- font-weight: bold;
62
- font-style: normal;
63
- }
64
-
65
- /* a markup tag name */
66
- .tag {
67
- color: #006400;
68
- font-weight: normal;
69
- font-style: normal;
70
- }
71
-
72
- /* a markup attribute name */
73
- .atn {
74
- color: #006400;
75
- font-weight: normal;
76
- font-style: normal;
77
- }
78
-
79
- /* a markup attribute value */
80
- .atv {
81
- color: #006400;
82
- font-weight: normal;
83
- font-style: normal;
84
- }
85
-
86
- /* a declaration */
87
- .dec {
88
- color: #000000;
89
- font-weight: bold;
90
- font-style: normal;
91
- }
92
-
93
- /* a variable name */
94
- .var {
95
- color: #000000;
96
- font-weight: normal;
97
- font-style: normal;
98
- }
99
-
100
- /* a function name */
101
- .fun {
102
- color: #000000;
103
- font-weight: bold;
104
- font-style: normal;
105
- }
106
-
107
- /* Specify class=linenums on a pre to get line numbering */
108
- ol.linenums {
109
- margin-top: 0;
110
- margin-bottom: 0;
111
- }
@@ -1,132 +0,0 @@
1
- /* Tomorrow Theme */
2
- /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
- /* Pretty printing styles. Used with prettify.js. */
4
- /* SPAN elements with the classes below are added by prettyprint. */
5
- /* plain text */
6
- .pln {
7
- color: #4d4d4c; }
8
-
9
- @media screen {
10
- /* string content */
11
- .str {
12
- color: #718c00; }
13
-
14
- /* a keyword */
15
- .kwd {
16
- color: #8959a8; }
17
-
18
- /* a comment */
19
- .com {
20
- color: #8e908c; }
21
-
22
- /* a type name */
23
- .typ {
24
- color: #4271ae; }
25
-
26
- /* a literal value */
27
- .lit {
28
- color: #f5871f; }
29
-
30
- /* punctuation */
31
- .pun {
32
- color: #4d4d4c; }
33
-
34
- /* lisp open bracket */
35
- .opn {
36
- color: #4d4d4c; }
37
-
38
- /* lisp close bracket */
39
- .clo {
40
- color: #4d4d4c; }
41
-
42
- /* a markup tag name */
43
- .tag {
44
- color: #c82829; }
45
-
46
- /* a markup attribute name */
47
- .atn {
48
- color: #f5871f; }
49
-
50
- /* a markup attribute value */
51
- .atv {
52
- color: #3e999f; }
53
-
54
- /* a declaration */
55
- .dec {
56
- color: #f5871f; }
57
-
58
- /* a variable name */
59
- .var {
60
- color: #c82829; }
61
-
62
- /* a function name */
63
- .fun {
64
- color: #4271ae; } }
65
- /* Use higher contrast and text-weight for printable form. */
66
- @media print, projection {
67
- .str {
68
- color: #060; }
69
-
70
- .kwd {
71
- color: #006;
72
- font-weight: bold; }
73
-
74
- .com {
75
- color: #600;
76
- font-style: italic; }
77
-
78
- .typ {
79
- color: #404;
80
- font-weight: bold; }
81
-
82
- .lit {
83
- color: #044; }
84
-
85
- .pun, .opn, .clo {
86
- color: #440; }
87
-
88
- .tag {
89
- color: #006;
90
- font-weight: bold; }
91
-
92
- .atn {
93
- color: #404; }
94
-
95
- .atv {
96
- color: #060; } }
97
- /* Style */
98
- /*
99
- pre.prettyprint {
100
- background: white;
101
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
102
- font-size: 12px;
103
- line-height: 1.5;
104
- border: 1px solid #ccc;
105
- padding: 10px; }
106
- */
107
-
108
- /* Specify class=linenums on a pre to get line numbering */
109
- ol.linenums {
110
- margin-top: 0;
111
- margin-bottom: 0; }
112
-
113
- /* IE indents via margin-left */
114
- li.L0,
115
- li.L1,
116
- li.L2,
117
- li.L3,
118
- li.L4,
119
- li.L5,
120
- li.L6,
121
- li.L7,
122
- li.L8,
123
- li.L9 {
124
- /* */ }
125
-
126
- /* Alternate shading for lines */
127
- li.L1,
128
- li.L3,
129
- li.L5,
130
- li.L7,
131
- li.L9 {
132
- /* */ }
@@ -1,44 +0,0 @@
1
- /* reset css */
2
- html, body, div, span, applet, object, iframe,
3
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4
- a, abbr, acronym, address, big, cite, code,
5
- del, dfn, em, img, ins, kbd, q, s, samp,
6
- small, strike, strong, sub, sup, tt, var,
7
- b, u, i, center,
8
- dl, dt, dd, ol, ul, li,
9
- fieldset, form, label, legend,
10
- table, caption, tbody, tfoot, thead, tr, th, td,
11
- article, aside, canvas, details, embed,
12
- figure, figcaption, footer, header, hgroup,
13
- menu, nav, output, ruby, section, summary,
14
- time, mark, audio, video {
15
- margin: 0;
16
- padding: 0;
17
- border: 0;
18
- font-size: 100%;
19
- font: inherit;
20
- vertical-align: baseline;
21
- }
22
- /* HTML5 display-role reset for older browsers */
23
- article, aside, details, figcaption, figure,
24
- footer, header, hgroup, menu, nav, section {
25
- display: block;
26
- }
27
- body {
28
- line-height: 1;
29
- }
30
- ol, ul {
31
- list-style: none;
32
- }
33
- blockquote, q {
34
- quotes: none;
35
- }
36
- blockquote:before, blockquote:after,
37
- q:before, q:after {
38
- content: '';
39
- content: none;
40
- }
41
- table {
42
- border-collapse: collapse;
43
- border-spacing: 0;
44
- }
package/jsdoc.json DELETED
@@ -1,51 +0,0 @@
1
- {
2
- "plugins": [
3
- "plugins/markdown",
4
- "node_modules/funbridge-jsdoc-template/typescript",
5
- "node_modules/funbridge-jsdoc-template/category",
6
- "node_modules/funbridge-jsdoc-template/component",
7
- "node_modules/funbridge-jsdoc-template/typedef-import",
8
- "node_modules/jsdoc-mermaid"
9
- ],
10
- "recurseDepth": 10,
11
- "source": {
12
- "include": [
13
- "./"
14
- ],
15
- "includePattern": ".(?:j|t)sx?$",
16
- "excludePattern": "(node_modules/|documentation/)"
17
- },
18
- "sourceType": "module",
19
- "tags": {
20
- "allowUnknownTags": true,
21
- "dictionaries": [
22
- "jsdoc",
23
- "closure"
24
- ]
25
- },
26
- "templates": {
27
- "cleverLinks": false,
28
- "monospaceLinks": false,
29
- "search": true,
30
- "default": {
31
- "includeDate": false
32
- }
33
- },
34
- "opts": {
35
- "encoding": "utf8",
36
- "destination": "./documentation/",
37
- "template": "./node_modules/funbridge-jsdoc-template",
38
- "recurse": true,
39
- "verbose": false,
40
- "theme_opts": {
41
- "default_theme": "dark",
42
- "seach": true,
43
- "commonNav": true,
44
- "typedefs": true
45
- }
46
- },
47
- "markdown": {
48
- "hardwrap": false,
49
- "idInHeadings": true
50
- }
51
- }