@bamboocss/eslint-plugin 1.12.0 → 1.12.2
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/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/utils/worker.cjs +1 -1
- package/dist/utils/worker.mjs +1 -1
- package/dist/utils--KVHU2cv.mjs +164 -0
- package/dist/utils--KVHU2cv.mjs.map +1 -0
- package/dist/utils-BbqZf2ZV.cjs +217 -0
- package/dist/utils-BbqZf2ZV.cjs.map +1 -0
- package/package.json +8 -8
- package/dist/index.d.cts +0 -1
- package/dist/index.d.mts +0 -1
- package/dist/utils/worker.d.cts +0 -54
- package/dist/utils/worker.d.mts +0 -55
- package/dist/utils-BQiAeXE_.cjs +0 -4455
- package/dist/utils-BQiAeXE_.cjs.map +0 -1
- package/dist/utils-CwjhPHe9.mjs +0 -4433
- package/dist/utils-CwjhPHe9.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
2
|
-
let _bamboocss_shared = require("@bamboocss/shared");
|
|
1
|
+
const require_utils = require('./utils-BbqZf2ZV.cjs');
|
|
3
2
|
let _typescript_eslint_utils = require("@typescript-eslint/utils");
|
|
4
3
|
let _typescript_eslint_utils_ast_utils = require("@typescript-eslint/utils/ast-utils");
|
|
5
4
|
let _typescript_eslint_scope_manager = require("@typescript-eslint/scope-manager");
|
|
6
5
|
require("@typescript-eslint/utils/ts-eslint");
|
|
6
|
+
let _bamboocss_shared = require("@bamboocss/shared");
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "@bamboocss/eslint-plugin";
|
|
10
|
-
var version = "1.12.
|
|
10
|
+
var version = "1.12.2";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/utils/nodes.ts
|
|
@@ -2239,12 +2239,12 @@ const errorRules = [
|
|
|
2239
2239
|
RULE_NAME$9
|
|
2240
2240
|
];
|
|
2241
2241
|
const allRules = Object.fromEntries(Object.entries(rules).map(([name]) => {
|
|
2242
|
-
return [
|
|
2242
|
+
return [`bamboo/${name}`, errorRules.includes(name) ? "error" : "warn"];
|
|
2243
2243
|
}));
|
|
2244
2244
|
var all_default = {
|
|
2245
2245
|
parser: "@typescript-eslint/parser",
|
|
2246
2246
|
parserOptions: { sourceType: "module" },
|
|
2247
|
-
plugins: ["
|
|
2247
|
+
plugins: ["bamboo"],
|
|
2248
2248
|
rules: allRules
|
|
2249
2249
|
};
|
|
2250
2250
|
|
|
@@ -2253,18 +2253,18 @@ var all_default = {
|
|
|
2253
2253
|
var recommended_default = {
|
|
2254
2254
|
parser: "@typescript-eslint/parser",
|
|
2255
2255
|
parserOptions: { sourceType: "module" },
|
|
2256
|
-
plugins: ["
|
|
2256
|
+
plugins: ["bamboo"],
|
|
2257
2257
|
rules: {
|
|
2258
|
-
"
|
|
2259
|
-
"
|
|
2260
|
-
"
|
|
2261
|
-
"
|
|
2262
|
-
"
|
|
2263
|
-
"
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2266
|
-
"
|
|
2267
|
-
"
|
|
2258
|
+
"bamboo/file-not-included": "error",
|
|
2259
|
+
"bamboo/no-config-function-in-source": "error",
|
|
2260
|
+
"bamboo/no-debug": "warn",
|
|
2261
|
+
"bamboo/no-deprecated-tokens": "warn",
|
|
2262
|
+
"bamboo/no-dynamic-styling": "warn",
|
|
2263
|
+
"bamboo/no-hardcoded-color": "warn",
|
|
2264
|
+
"bamboo/no-invalid-nesting": "error",
|
|
2265
|
+
"bamboo/no-invalid-token-paths": "error",
|
|
2266
|
+
"bamboo/no-property-renaming": "warn",
|
|
2267
|
+
"bamboo/no-unsafe-token-fn-usage": "warn"
|
|
2268
2268
|
}
|
|
2269
2269
|
};
|
|
2270
2270
|
|