@trackunit/eslint-plugin-trackunit 0.6.173 → 0.6.174
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/eslint-plugin-trackunit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.174",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"repository": "https://github.com/Trackunit/manager",
|
|
6
6
|
"engines": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@nx/eslint-plugin": "23.1.0",
|
|
11
|
-
"@trackunit/css-classname-utils": "0.0.
|
|
11
|
+
"@trackunit/css-classname-utils": "0.0.75",
|
|
12
12
|
"@typescript-eslint/eslint-plugin": "8.71.1",
|
|
13
13
|
"@typescript-eslint/utils": "8.71.1",
|
|
14
14
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const e2e: ({
|
|
2
|
-
files: string[];
|
|
3
|
-
languageOptions: {
|
|
4
|
-
ecmaVersion: number;
|
|
5
|
-
sourceType: string;
|
|
6
|
-
parserOptions: {
|
|
7
|
-
project: string[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
rules?: undefined;
|
|
11
|
-
} | {
|
|
12
|
-
files: string[];
|
|
13
|
-
rules: {
|
|
14
|
-
"testing-library/prefer-screen-queries": string;
|
|
15
|
-
"testing-library/no-node-access": string;
|
|
16
|
-
"testing-library/no-container": string;
|
|
17
|
-
"testing-library/render-result-naming-convention": string;
|
|
18
|
-
"testing-library/no-render-in-lifecycle": string;
|
|
19
|
-
};
|
|
20
|
-
languageOptions?: undefined;
|
|
21
|
-
})[];
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.e2e = void 0;
|
|
4
|
-
exports.e2e = [
|
|
5
|
-
{
|
|
6
|
-
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
|
7
|
-
languageOptions: {
|
|
8
|
-
ecmaVersion: 5,
|
|
9
|
-
sourceType: "script",
|
|
10
|
-
parserOptions: {
|
|
11
|
-
project: ["./tsconfig.*?.json", "./tsconfig.json", "./playwright/tsconfig.json"],
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
files: ["playwright/**/*.ts", "playwright/**/*.tsx"],
|
|
17
|
-
rules: {
|
|
18
|
-
"testing-library/prefer-screen-queries": "off",
|
|
19
|
-
"testing-library/no-node-access": "off",
|
|
20
|
-
"testing-library/no-container": "off",
|
|
21
|
-
"testing-library/render-result-naming-convention": "off",
|
|
22
|
-
"testing-library/no-render-in-lifecycle": "off",
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
];
|
|
26
|
-
//# sourceMappingURL=e2e.js.map
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const server: ({
|
|
2
|
-
languageOptions: {
|
|
3
|
-
globals: {
|
|
4
|
-
[x: string]: boolean | "readonly" | "writable";
|
|
5
|
-
};
|
|
6
|
-
parser?: undefined;
|
|
7
|
-
parserOptions?: undefined;
|
|
8
|
-
};
|
|
9
|
-
files?: undefined;
|
|
10
|
-
plugins?: undefined;
|
|
11
|
-
rules?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
files: string[];
|
|
14
|
-
languageOptions: {
|
|
15
|
-
parser: import("eslint").Linter.Parser;
|
|
16
|
-
globals?: undefined;
|
|
17
|
-
parserOptions?: undefined;
|
|
18
|
-
};
|
|
19
|
-
plugins?: undefined;
|
|
20
|
-
rules?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
files: string[];
|
|
23
|
-
plugins: {
|
|
24
|
-
jsdoc: {
|
|
25
|
-
rules: Record<string, import("eslint").Rule.RuleModule>;
|
|
26
|
-
configs: Record<string, import("eslint").Linter.Config>;
|
|
27
|
-
};
|
|
28
|
-
"type-graphql": {
|
|
29
|
-
rules: Record<string, import("eslint").Rule.RuleModule>;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
languageOptions: {
|
|
33
|
-
parserOptions: {
|
|
34
|
-
project: string[];
|
|
35
|
-
};
|
|
36
|
-
globals?: undefined;
|
|
37
|
-
parser?: undefined;
|
|
38
|
-
};
|
|
39
|
-
rules: {
|
|
40
|
-
"type-graphql/missing-decorator-type": string[];
|
|
41
|
-
"type-graphql/invalid-nullable-output-type": string;
|
|
42
|
-
"type-graphql/wrong-decorator-signature": string;
|
|
43
|
-
"type-graphql/invalid-nullable-input-type": string;
|
|
44
|
-
};
|
|
45
|
-
})[];
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.server = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const compat_1 = require("@eslint/compat");
|
|
6
|
-
const typeGraphql = tslib_1.__importStar(require("eslint-plugin-type-graphql"));
|
|
7
|
-
const plugins_1 = require("../plugins");
|
|
8
|
-
/**
|
|
9
|
-
* The parser must NOT be set on an unscoped config block: an unscoped `languageOptions.parser`
|
|
10
|
-
* overrides the JSON parser that `base` assigns to `locales/en/translation.json`, which silently
|
|
11
|
-
* disables `@trackunit/no-unused-translation-key`. `.cjs` and `.mjs` are listed so the config
|
|
12
|
-
* files linted by default keep the parser they had when it was unscoped.
|
|
13
|
-
*/
|
|
14
|
-
const codeFiles = ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "**/*.cjs", "**/*.mjs"];
|
|
15
|
-
exports.server = [
|
|
16
|
-
{
|
|
17
|
-
languageOptions: {
|
|
18
|
-
globals: {
|
|
19
|
-
...plugins_1.globals.browser,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
files: codeFiles,
|
|
25
|
-
languageOptions: {
|
|
26
|
-
parser: plugins_1.tsParser,
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
files: ["**/*.ts", "**/*.js"],
|
|
31
|
-
plugins: {
|
|
32
|
-
jsdoc: plugins_1.jsdoc,
|
|
33
|
-
"type-graphql": (0, compat_1.fixupPluginRules)(typeGraphql),
|
|
34
|
-
},
|
|
35
|
-
languageOptions: {
|
|
36
|
-
parserOptions: {
|
|
37
|
-
project: ["./tsconfig.*?.json"],
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
rules: {
|
|
41
|
-
...typeGraphql.configs.recommended.rules,
|
|
42
|
-
"type-graphql/missing-decorator-type": ["error", "all"],
|
|
43
|
-
"type-graphql/invalid-nullable-output-type": "off",
|
|
44
|
-
"type-graphql/wrong-decorator-signature": "error",
|
|
45
|
-
"type-graphql/invalid-nullable-input-type": "off",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
//# sourceMappingURL=server.js.map
|