@1stg/eslint-config 8.0.4 → 8.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/base.js +8 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`573339c`](https://github.com/1stG/configs/commit/573339ca20ad377341dbe70d7ab0e66d1714d81f) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint-config): add cjs/cts globals
8
+
9
+ ## 8.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [#300](https://github.com/1stG/configs/pull/300) [`d513242`](https://github.com/1stG/configs/commit/d51324275b7769d3a525d0a56cb32d0b7b08f52c) Thanks [@JounQin](https://github.com/JounQin)! - chore: disable `no-control-regex` in favor of `sonarjs/no-control-regex`
14
+
3
15
  ## 8.0.4
4
16
 
5
17
  ### Patch Changes
package/base.js CHANGED
@@ -34,6 +34,13 @@ export const base = tseslint.config([
34
34
  sonarjs.configs.recommended,
35
35
  unicorn.configs.recommended,
36
36
  prettierExtends,
37
+ {
38
+ name: '@1stg/node',
39
+ files: ['**/*.{cjs,cts}'],
40
+ languageOptions: {
41
+ globals: globals.node,
42
+ },
43
+ },
37
44
  {
38
45
  name: '@1stg/base',
39
46
  plugins: {
@@ -85,6 +92,7 @@ export const base = tseslint.config([
85
92
  'newlines-between': 'always',
86
93
  },
87
94
  ],
95
+ 'no-control-regex': 0, // replaced by sonarjs/no-control-regex
88
96
  'no-else-return': [
89
97
  2,
90
98
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "8.0.4",
3
+ "version": "8.0.6",
4
4
  "type": "module",
5
5
  "description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
6
6
  "repository": "git+https://github.com/1stG/configs.git",