@akanjs/lint 0.0.47 → 0.0.48
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/jest.config.js +31 -0
- package/package.json +1 -1
- package/pkgs/@akanjs/lint/jest.config.d.ts +11 -0
- /package/{index.d.ts → pkgs/@akanjs/lint/index.d.ts} +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/rules/noImportClientFunctions.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/rules/noImportExternalLibrary.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/rules/nonScalarPropsRestricted.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/rules/useClientByFile.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/fileHasClientFunction.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/fileHasContent.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/fileHasUseClient.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/fileIsPureImportFile.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/fileIsServerFile.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/getAppName.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/getFilename.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/index.d.ts +0 -0
- /package/{src → pkgs/@akanjs/lint/src}/util/isInternalImport.d.ts +0 -0
package/jest.config.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var jest_config_exports = {};
|
|
19
|
+
__export(jest_config_exports, {
|
|
20
|
+
default: () => jest_config_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(jest_config_exports);
|
|
23
|
+
var jest_config_default = {
|
|
24
|
+
displayName: "eslint-rules",
|
|
25
|
+
// preset: "../../pkgs/@akanjs/config/src/jest.preset.js",
|
|
26
|
+
transform: {
|
|
27
|
+
"^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }]
|
|
28
|
+
},
|
|
29
|
+
moduleFileExtensions: ["ts", "js", "html"],
|
|
30
|
+
coverageDirectory: "../../../coverage/pkgs/@akanjs/lint"
|
|
31
|
+
};
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|