@widergy/eslint-config 1.0.4 → 1.0.6

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.
@@ -11,8 +11,10 @@ jobs:
11
11
  - image: cimg/node:22.18.0
12
12
  steps:
13
13
  - checkout
14
+ - run:
15
+ name: Set git credentials
16
+ command: git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
14
17
  - run: yarn install
15
-
16
18
  - run: npx semantic-release
17
19
 
18
20
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.0.6](https://github.com/widergy/eslint-config/compare/v1.0.5...v1.0.6) (2026-04-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * test org deploy ([ca146b3](https://github.com/widergy/eslint-config/commit/ca146b36f9731fd7bad9a7c933ad251051496644))
7
+
8
+ ## [1.0.5](https://github.com/widergy/eslint-config/compare/v1.0.4...v1.0.5) (2026-02-12)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * [DEV-766] remove typeaware rules ([#14](https://github.com/widergy/eslint-config/issues/14)) ([7fa3785](https://github.com/widergy/eslint-config/commit/7fa3785b3c8475b6a7462d3d95bcc3380ba93c3e))
14
+
1
15
  ## [1.0.4](https://github.com/widergy/eslint-config/compare/v1.0.3...v1.0.4) (2026-02-11)
2
16
 
3
17
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @widergy/eslint-config
1
+ # @widergy/eslint-config
2
2
 
3
3
  Widergy's shared ESLint configuration, supporting JavaScript, TypeScript, React, and React Native.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/eslint-config",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Widergy ESLint configuration",
5
5
  "type": "module",
6
6
  "author": "widergy",
package/src/javascript.js CHANGED
@@ -12,11 +12,6 @@ import { prettierRules } from "./rules/prettierRules.js";
12
12
  import { fixupConfigRules, fixupPluginRules } from "@eslint/compat";
13
13
  import { importRules } from "./rules/importRules.js";
14
14
 
15
- const tsConfigs = tseslint.configs.recommendedTypeChecked.map((config) => ({
16
- ...config,
17
- files: ["**/*.{ts,tsx}"],
18
- }));
19
-
20
15
  export default defineConfig([
21
16
  js.configs.recommended,
22
17
 
@@ -24,8 +19,6 @@ export default defineConfig([
24
19
  compat.extends("plugin:import/recommended", "plugin:prettier/recommended"),
25
20
  ),
26
21
 
27
- ...tsConfigs,
28
-
29
22
  {
30
23
  files: ["**/*.{js,jsx,ts,tsx}"],
31
24
  ignores: ["node_modules/**", "dist/**", "build/**"],
@@ -101,9 +94,14 @@ export default defineConfig([
101
94
  languageOptions: {
102
95
  parser: tseslint.parser,
103
96
  parserOptions: {
104
- projectService: true,
97
+ ecmaFeatures: {
98
+ jsx: true,
99
+ },
105
100
  },
106
101
  },
102
+ plugins: {
103
+ "@typescript-eslint": tseslint.plugin,
104
+ },
107
105
  name: "widergy/javascript-ts",
108
106
  rules: {
109
107
  ...tsOnlyRules,
@@ -18,11 +18,6 @@ import { reactRules } from "./rules/reactRules.js";
18
18
  import { reactNativeRules } from "./rules/reactNativeRules.js";
19
19
  import { reactHooksRules } from "./rules/reactHooksRules.js";
20
20
 
21
- const tsConfigs = tseslint.configs.recommendedTypeChecked.map((config) => ({
22
- ...config,
23
- files: ["**/*.{ts,tsx}"],
24
- }));
25
-
26
21
  export default defineConfig([
27
22
  js.configs.recommended,
28
23
 
@@ -37,8 +32,6 @@ export default defineConfig([
37
32
  ),
38
33
  ),
39
34
 
40
- ...tsConfigs,
41
-
42
35
  {
43
36
  files: ["**/*.{js,jsx,ts,tsx}"],
44
37
  ignores: ["node_modules/**", "dist/**", "build/**", "ios/**", "android/**"],
@@ -48,6 +41,7 @@ export default defineConfig([
48
41
  ...globals.node,
49
42
  ...globals.browser,
50
43
  __DEV__: "readonly",
44
+ JSX: "readonly",
51
45
  },
52
46
  sourceType: "module",
53
47
  },
@@ -124,9 +118,14 @@ export default defineConfig([
124
118
  languageOptions: {
125
119
  parser: tseslint.parser,
126
120
  parserOptions: {
127
- projectService: true,
121
+ ecmaFeatures: {
122
+ jsx: true,
123
+ },
128
124
  },
129
125
  },
126
+ plugins: {
127
+ "@typescript-eslint": tseslint.plugin,
128
+ },
130
129
  name: "widergy/react-native-ts",
131
130
  rules: {
132
131
  ...tsOnlyRules,
package/src/react.js CHANGED
@@ -17,11 +17,6 @@ import { compat } from "./utils.js";
17
17
  import { defineConfig } from "eslint/config";
18
18
  import { fixupConfigRules, fixupPluginRules } from "@eslint/compat";
19
19
 
20
- const tsConfigs = tseslint.configs.recommendedTypeChecked.map((config) => ({
21
- ...config,
22
- files: ["**/*.{ts,tsx}"],
23
- }));
24
-
25
20
  export default defineConfig([
26
21
  js.configs.recommended,
27
22
 
@@ -35,8 +30,6 @@ export default defineConfig([
35
30
  ),
36
31
  ),
37
32
 
38
- ...tsConfigs,
39
-
40
33
  {
41
34
  files: ["**/*.{js,jsx,ts,tsx}"], // add support for scss files, possibly deprecating node-sass/sass-lint for sass/stylelint
42
35
  ignores: ["node_modules/**", "dist/**", "build/**"],
@@ -46,6 +39,7 @@ export default defineConfig([
46
39
  ...globals.node,
47
40
  ...globals.browser,
48
41
  __DEV__: "readonly",
42
+ JSX: "readonly",
49
43
  },
50
44
  sourceType: "module",
51
45
  },
@@ -120,9 +114,14 @@ export default defineConfig([
120
114
  languageOptions: {
121
115
  parser: tseslint.parser,
122
116
  parserOptions: {
123
- projectService: true,
117
+ ecmaFeatures: {
118
+ jsx: true,
119
+ },
124
120
  },
125
121
  },
122
+ plugins: {
123
+ "@typescript-eslint": tseslint.plugin,
124
+ },
126
125
  name: "widergy/react-web-ts",
127
126
  rules: {
128
127
  ...tsOnlyRules,
@@ -33,6 +33,7 @@ export const jsOnlyRules = {
33
33
  };
34
34
 
35
35
  export const tsOnlyRules = {
36
+ "no-unused-vars": "off",
36
37
  "@typescript-eslint/no-unused-vars": [
37
38
  "error",
38
39
  {