@breadstone-infrastructure/eslint-config 0.0.194 → 0.0.196
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/configs/Config.d.ts +1 -1
- package/configs/Config.d.ts.map +1 -1
- package/configs/Config.js +9 -36
- package/configs/Config.js.map +1 -1
- package/configs/Config2.d.ts +1 -1
- package/configs/Config2.d.ts.map +1 -1
- package/configs/Config2.js +8 -8
- package/configs/Config2.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/configs/Config.d.ts
CHANGED
package/configs/Config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/configs/config.ts"],"names":[],"mappings":"AAeA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;CAU7B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,OAAO;IAEhB;;;;;;OAMG;;IAeH;;;;;;;;OAQG;;IAYH;;;;;;;OAOG;;IAWH;;;;;;;;OAQG;;IAiBH;;;;;;;;OAQG;;CAiBN,CAAC"}
|
package/configs/Config.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// #region Imports
|
|
2
|
-
import angularConfig from './presets/
|
|
3
|
-
import baseConfig from './presets/
|
|
2
|
+
import angularConfig from './presets/angular.js';
|
|
3
|
+
import baseConfig from './presets/javascript.js';
|
|
4
4
|
// import importConfig from './Configs/Import.js';
|
|
5
|
-
import customConfig from './presets/
|
|
6
|
-
import litConfig from './presets/
|
|
7
|
-
import stylisticConfig from './presets/
|
|
8
|
-
import typescriptConfig from './presets/
|
|
5
|
+
import customConfig from './presets/custom.js';
|
|
6
|
+
import litConfig from './presets/lit.js';
|
|
7
|
+
import stylisticConfig from './presets/stylistic.js';
|
|
8
|
+
import typescriptConfig from './presets/typescript.js';
|
|
9
9
|
// import htmlConfig from './Configs/Html.js';
|
|
10
|
-
import jsonConfig from './presets/
|
|
11
|
-
import markdown from './presets/
|
|
10
|
+
import jsonConfig from './presets/json.js';
|
|
11
|
+
import markdown from './presets/markdown.js';
|
|
12
12
|
// #endregion
|
|
13
13
|
/**
|
|
14
14
|
* The standalone configurations
|
|
@@ -44,15 +44,10 @@ export const configs = {
|
|
|
44
44
|
* - Contains all rules of the import configuration
|
|
45
45
|
*/
|
|
46
46
|
base: [
|
|
47
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
48
47
|
...standaloneConfigs.base,
|
|
49
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
50
48
|
...standaloneConfigs.typescript,
|
|
51
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
52
49
|
...standaloneConfigs.stylistic,
|
|
53
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
54
50
|
...standaloneConfigs.json,
|
|
55
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
56
51
|
...standaloneConfigs.markdown
|
|
57
52
|
// ...importConfig
|
|
58
53
|
],
|
|
@@ -66,17 +61,11 @@ export const configs = {
|
|
|
66
61
|
* - Contains all rules of the html configuration
|
|
67
62
|
*/
|
|
68
63
|
lit: [
|
|
69
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
70
64
|
...standaloneConfigs.base,
|
|
71
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
72
65
|
...standaloneConfigs.typescript,
|
|
73
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
74
66
|
...standaloneConfigs.stylistic,
|
|
75
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
76
67
|
...standaloneConfigs.lit,
|
|
77
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
78
68
|
...standaloneConfigs.json,
|
|
79
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
80
69
|
...standaloneConfigs.markdown
|
|
81
70
|
// ...standaloneConfigs.html
|
|
82
71
|
// ...importConfig
|
|
@@ -90,17 +79,11 @@ export const configs = {
|
|
|
90
79
|
* - Contains all rules of the import configuration
|
|
91
80
|
*/
|
|
92
81
|
angular: [
|
|
93
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
94
82
|
...standaloneConfigs.base,
|
|
95
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
96
83
|
...standaloneConfigs.typescript,
|
|
97
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
98
84
|
...standaloneConfigs.stylistic,
|
|
99
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
100
85
|
...standaloneConfigs.angular,
|
|
101
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
102
86
|
...standaloneConfigs.json,
|
|
103
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
104
87
|
...standaloneConfigs.markdown
|
|
105
88
|
// ...importConfig
|
|
106
89
|
],
|
|
@@ -114,15 +97,10 @@ export const configs = {
|
|
|
114
97
|
* - Contains all rules of the html configuration
|
|
115
98
|
*/
|
|
116
99
|
vue: [
|
|
117
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
118
100
|
...standaloneConfigs.base,
|
|
119
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
120
101
|
...standaloneConfigs.typescript,
|
|
121
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
122
102
|
...standaloneConfigs.stylistic,
|
|
123
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
124
103
|
...standaloneConfigs.json,
|
|
125
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
126
104
|
...standaloneConfigs.markdown
|
|
127
105
|
// ...standaloneConfigs.html
|
|
128
106
|
// ...importConfig
|
|
@@ -138,19 +116,14 @@ export const configs = {
|
|
|
138
116
|
* - Contains all rules of the html configuration
|
|
139
117
|
*/
|
|
140
118
|
react: [
|
|
141
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
142
119
|
...standaloneConfigs.base,
|
|
143
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
144
120
|
...standaloneConfigs.typescript,
|
|
145
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
146
121
|
...standaloneConfigs.stylistic,
|
|
147
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
148
122
|
...standaloneConfigs.json,
|
|
149
|
-
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
150
123
|
...standaloneConfigs.markdown
|
|
151
124
|
// ...standaloneConfigs.html
|
|
152
125
|
// ...importConfig
|
|
153
126
|
// todo: react rules are missing here
|
|
154
127
|
]
|
|
155
128
|
};
|
|
156
|
-
//# sourceMappingURL=
|
|
129
|
+
//# sourceMappingURL=config.js.map
|
package/configs/Config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/configs/config.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,kDAAkD;AAClD,OAAO,YAAY,MAAM,qBAAqB,CAAC;AAC/C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,eAAe,MAAM,wBAAwB,CAAC;AACrD,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AACvD,8CAA8C;AAC9C,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAE7C,aAAa;AAEb;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,IAAI,EAAE,UAAU;IAChB,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,eAAe;IAC1B,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,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AI;QAEzB,GAAG,iBAAiB,CAAC,UAAU;QAE/B,GAAG,iBAAiB,CAAC,SAAS;QAE9B,GAAG,iBAAiB,CAAC,IAAI;QAEzB,GAAG,iBAAiB,CAAC,QAAQ;QAC7B,4BAA4B;QAC5B,kBAAkB;QAClB,qCAAqC;KAExC;CACJ,CAAC"}
|
package/configs/Config2.d.ts
CHANGED
package/configs/Config2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"config2.d.ts","sourceRoot":"","sources":["../../src/configs/config2.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;CAUrB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;IAEjB;;;;;;;OAOG;;IAUH;;;;;;;;OAQG;;IAWH;;;;;;;;OAQG;;IAWH;;;;;;;;OAQG;;IAWH;;;;;;;;OAQG;;CAWN,CAAC"}
|
package/configs/Config2.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// #region Imports
|
|
2
|
-
import javascriptConfig from './presets/
|
|
3
|
-
import markdownConfig from './presets/
|
|
4
|
-
import stylisticConfig from './presets/
|
|
5
|
-
import typescriptConfig from './presets/
|
|
6
|
-
import litConfig from './presets/
|
|
7
|
-
import jsonConfig from './presets/
|
|
8
|
-
import angularConfig from './presets/
|
|
2
|
+
import javascriptConfig from './presets/javascript2.js';
|
|
3
|
+
import markdownConfig from './presets/markdown2.js';
|
|
4
|
+
import stylisticConfig from './presets/stylistic2.js';
|
|
5
|
+
import typescriptConfig from './presets/typescript2.js';
|
|
6
|
+
import litConfig from './presets/lit2.js';
|
|
7
|
+
import jsonConfig from './presets/json2.js';
|
|
8
|
+
import angularConfig from './presets/angular2.js';
|
|
9
9
|
import { defineConfig } from 'eslint/config';
|
|
10
10
|
// import importConfig from './Presets/Import2.js';
|
|
11
11
|
// import htmlConfig from './Presets/Html2.js';
|
|
@@ -98,4 +98,4 @@ export const configs2 = {
|
|
|
98
98
|
// todo: react rules are missing here
|
|
99
99
|
)
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=
|
|
101
|
+
//# sourceMappingURL=config2.js.map
|
package/configs/Config2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"config2.js","sourceRoot":"","sources":["../../src/configs/config2.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,cAAc,MAAM,wBAAwB,CAAC;AACpD,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AACxD,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,mDAAmD;AACnD,+CAA+C;AAE/C,aAAa;AAEb;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE,cAAc;IACxB,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,eAAe;IAC1B,UAAU,EAAE,gBAAgB;IAC5B,GAAG,EAAE,SAAS;IACd,OAAO,EAAE,aAAa;IACtB,uBAAuB;IACvB,mBAAmB;CACb,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IAEpB;;;;;;;OAOG;IACH,IAAI,EAAE,YAAY,CACd,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,SAAS;IAC5B,6BAA6B;IAC7B,kBAAkB,CAAC,IAAI,EACvB,kBAAkB,CAAC,QAAQ,CAC9B;IAED;;;;;;;;OAQG;IACH,GAAG,EAAE,YAAY,CACb,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,SAAS;IAC5B,6BAA6B;IAC7B,kBAAkB,CAAC,IAAI,EACvB,kBAAkB,CAAC,QAAQ,EAC3B,kBAAkB,CAAC,GAAG,CACzB;IAED;;;;;;;;OAQG;IACH,OAAO,EAAE,YAAY,CACjB,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,SAAS;IAC5B,6BAA6B;IAC7B,kBAAkB,CAAC,IAAI,EACvB,kBAAkB,CAAC,QAAQ,EAC3B,kBAAkB,CAAC,OAAO,CAC7B;IAED;;;;;;;;OAQG;IACH,GAAG,EAAE,YAAY,CACb,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,SAAS;IAC5B,6BAA6B;IAC7B,kBAAkB,CAAC,IAAI,EACvB,kBAAkB,CAAC,QAAQ;IAC3B,mCAAmC;KACtC;IAED;;;;;;;;OAQG;IACH,KAAK,EAAE,YAAY,CACf,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,UAAU,EAC7B,kBAAkB,CAAC,SAAS;IAC5B,6BAA6B;IAC7B,kBAAkB,CAAC,IAAI,EACvB,kBAAkB,CAAC,QAAQ;IAC3B,qCAAqC;KACxC;CAEJ,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { configs, standaloneConfigs } from './configs/
|
|
2
|
-
export { configs2, standaloneConfigs2 } from './configs/
|
|
1
|
+
export { configs, standaloneConfigs } from './configs/config.js';
|
|
2
|
+
export { configs2, standaloneConfigs2 } from './configs/config2.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { configs, standaloneConfigs } from './configs/
|
|
2
|
-
export { configs2, standaloneConfigs2 } from './configs/
|
|
1
|
+
export { configs, standaloneConfigs } from './configs/config.js';
|
|
2
|
+
export { configs2, standaloneConfigs2 } from './configs/config2.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED