@orchestrator-ui/eslint-config-custom 2.1.0 → 2.2.0
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +12 -0
- package/dist/index.js +1 -8
- package/index.js +35 -42
- package/package.json +42 -42
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/eslint-config-custom@2.
|
|
2
|
+
> @orchestrator-ui/eslint-config-custom@2.2.0 build
|
|
3
3
|
> tsup index.js --format esm
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: index.js
|
|
6
|
-
[34mCLI[39m tsup v8.5.
|
|
6
|
+
[34mCLI[39m tsup v8.5.1
|
|
7
7
|
[34mCLI[39m Target: node16
|
|
8
8
|
[34mESM[39m Build start
|
|
9
|
-
[32mESM[39m [1mdist/index.js [22m[32m1.
|
|
10
|
-
[32mESM[39m ⚡️ Build success in
|
|
9
|
+
[32mESM[39m [1mdist/index.js [22m[32m1.33 KB[39m
|
|
10
|
+
[32mESM[39m ⚡️ Build success in 23ms
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,14 +7,7 @@ import globals from "globals";
|
|
|
7
7
|
import typescriptEslint from "typescript-eslint";
|
|
8
8
|
import js from "@eslint/js";
|
|
9
9
|
var index_default = defineConfig([
|
|
10
|
-
globalIgnores([
|
|
11
|
-
"node_modules",
|
|
12
|
-
"dist",
|
|
13
|
-
"build",
|
|
14
|
-
"coverage",
|
|
15
|
-
".next",
|
|
16
|
-
"next.config.js"
|
|
17
|
-
]),
|
|
10
|
+
globalIgnores(["node_modules", "dist", "build", "coverage", ".next", "next.config.js"]),
|
|
18
11
|
{
|
|
19
12
|
files: ["**/*.{js,ts,jsx,tsx}"],
|
|
20
13
|
plugins: { js },
|
package/index.js
CHANGED
|
@@ -8,51 +8,44 @@ import typescriptEslint from 'typescript-eslint';
|
|
|
8
8
|
import js from '@eslint/js';
|
|
9
9
|
|
|
10
10
|
export default defineConfig([
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
]),
|
|
19
|
-
{
|
|
20
|
-
files: ['**/*.{js,ts,jsx,tsx}'],
|
|
21
|
-
plugins: { js },
|
|
22
|
-
extends: ['js/recommended'],
|
|
23
|
-
rules: {
|
|
24
|
-
'no-console': ['error', { allow: ['error', 'warn'] }],
|
|
25
|
-
},
|
|
11
|
+
globalIgnores(['node_modules', 'dist', 'build', 'coverage', '.next', 'next.config.js']),
|
|
12
|
+
{
|
|
13
|
+
files: ['**/*.{js,ts,jsx,tsx}'],
|
|
14
|
+
plugins: { js },
|
|
15
|
+
extends: ['js/recommended'],
|
|
16
|
+
rules: {
|
|
17
|
+
'no-console': ['error', { allow: ['error', 'warn'] }],
|
|
26
18
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
files: ['**/*.{js,ts,jsx,tsx}'],
|
|
22
|
+
languageOptions: { globals: globals.browser },
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
plugins: {
|
|
26
|
+
'react-hooks': reactHooks,
|
|
30
27
|
},
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
rules: {
|
|
36
|
-
'react-hooks/rules-of-hooks': 'error', // Enforce Rules of Hooks
|
|
37
|
-
'react-hooks/exhaustive-deps': 'warn', // Enforce exhaustive deps in effects
|
|
38
|
-
},
|
|
28
|
+
rules: {
|
|
29
|
+
'react-hooks/rules-of-hooks': 'error', // Enforce Rules of Hooks
|
|
30
|
+
'react-hooks/exhaustive-deps': 'warn', // Enforce exhaustive deps in effects
|
|
39
31
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
files: ['**/*.{ts,tsx}'],
|
|
35
|
+
plugins: { typescriptEslint },
|
|
36
|
+
extends: ['typescriptEslint/recommended'],
|
|
37
|
+
rules: {
|
|
38
|
+
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
47
39
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
rules: {
|
|
53
|
-
'react/react-in-jsx-scope': 'error',
|
|
54
|
-
'react/jsx-uses-react': 'error',
|
|
55
|
-
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
plugins: {
|
|
43
|
+
react,
|
|
56
44
|
},
|
|
57
|
-
|
|
45
|
+
rules: {
|
|
46
|
+
'react/react-in-jsx-scope': 'error',
|
|
47
|
+
'react/jsx-uses-react': 'error',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
prettier,
|
|
58
51
|
]);
|
package/package.json
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
2
|
+
"name": "@orchestrator-ui/eslint-config-custom",
|
|
3
|
+
"version": "2.2.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"description": "Contains the eslint configuration used in the Workflow orchestrator frontend projects",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Workflow Orchestrator Programme",
|
|
10
|
+
"email": "workfloworchestrator.board@commonsconservancy.org",
|
|
11
|
+
"url": "https://www.workfloworchestrator.org"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/workfloworchestrator/orchestrator-ui-library.git"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://www.workfloworchestrator.org",
|
|
18
|
+
"keywords": [
|
|
19
|
+
"orchestrator",
|
|
20
|
+
"workflow",
|
|
21
|
+
"workflow orchestrator",
|
|
22
|
+
"eslint"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsup index.js --format esm",
|
|
26
|
+
"dev": "npm run build -- --watch"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@eslint/js": "^10.0.1",
|
|
30
|
+
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
31
|
+
"eslint": "^10.0.2",
|
|
32
|
+
"eslint-config-next": "^16.1.6",
|
|
33
|
+
"eslint-config-prettier": "^10.1.8",
|
|
34
|
+
"eslint-plugin-react": "^7.37.5",
|
|
35
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
36
|
+
"globals": "^17.3.0",
|
|
37
|
+
"tsup": "^8.5.0",
|
|
38
|
+
"typescript-eslint": "^8.45.0"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public",
|
|
42
|
+
"provenance": true
|
|
43
|
+
}
|
|
44
44
|
}
|