@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.
@@ -1,10 +1,10 @@
1
1
 
2
- > @orchestrator-ui/eslint-config-custom@2.1.0 build
2
+ > @orchestrator-ui/eslint-config-custom@2.2.0 build
3
3
  > tsup index.js --format esm
4
4
 
5
5
  CLI Building entry: index.js
6
- CLI tsup v8.5.0
6
+ CLI tsup v8.5.1
7
7
  CLI Target: node16
8
8
  ESM Build start
9
- ESM dist/index.js 1.35 KB
10
- ESM ⚡️ Build success in 36ms
9
+ ESM dist/index.js 1.33 KB
10
+ ESM ⚡️ Build success in 23ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @orchestrator-ui/eslint-config-custom
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4eb77d6: Updates npm dependencies
8
+
9
+ ## 2.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 7e81964: Switch to Trusted publishers
14
+
3
15
  ## 2.1.0
4
16
 
5
17
  ### Minor Changes
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
- globalIgnores([
12
- 'node_modules',
13
- 'dist',
14
- 'build',
15
- 'coverage',
16
- '.next',
17
- 'next.config.js',
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
- files: ['**/*.{js,ts,jsx,tsx}'],
29
- languageOptions: { globals: globals.browser },
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
- plugins: {
33
- 'react-hooks': reactHooks,
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
- files: ['**/*.{ts,tsx}'],
42
- plugins: { typescriptEslint },
43
- extends: ['typescriptEslint/recommended'],
44
- rules: {
45
- '@typescript-eslint/ban-ts-comment': 'warn',
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
- plugins: {
50
- react,
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
- prettier,
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
- "name": "@orchestrator-ui/eslint-config-custom",
3
- "version": "2.1.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": "^9.36.0",
30
- "@trivago/prettier-plugin-sort-imports": "^5.2.2",
31
- "eslint": "^9.36.0",
32
- "eslint-config-next": "^15.5.4",
33
- "eslint-config-prettier": "^10.1.8",
34
- "eslint-plugin-react": "^7.37.5",
35
- "eslint-plugin-react-hooks": "^5.2.0",
36
- "globals": "^16.4.0",
37
- "tsup": "^8.5.0",
38
- "typescript-eslint": "^8.45.0"
39
- },
40
- "publishConfig": {
41
- "access": "public",
42
- "provenance": true
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
  }