@1stg/eslint-config 8.0.2 → 8.0.4

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
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#298](https://github.com/1stG/configs/pull/298) [`1412b26`](https://github.com/1stG/configs/commit/1412b266f8e007fa2530396a09ada57094f22c80) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint-config): ignore `auto-imports.d.ts`
8
+
9
+ ## 8.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#296](https://github.com/1stG/configs/pull/296) [`2cc92e1`](https://github.com/1stG/configs/commit/2cc92e1d26157ea1468a387cdee7fadd4aa0efc5) Thanks [@JounQin](https://github.com/JounQin)! - chore(remark-preset): bump major version
14
+
3
15
  ## 8.0.2
4
16
 
5
17
  ### Patch Changes
package/base.js CHANGED
@@ -166,6 +166,7 @@ export const base = tseslint.config([
166
166
  '**/yarn.lock',
167
167
  '**/package-lock.json',
168
168
  '**/pnpm-lock.yaml',
169
+ '**/auto-imports.d.ts',
169
170
  '**/.yarn',
170
171
  '!.github',
171
172
  '!.*.{cjs,js,mjs,cts,ts,mts}',
package/overrides.js CHANGED
@@ -39,15 +39,11 @@ const configFile =
39
39
  */
40
40
  const jsBase = {
41
41
  name: '@1stg/js-base',
42
- files: ['**/*.cjs', '**/*.mjs', '**/*.js', '**/*.jsx'],
42
+ files: ['**/*.{cjs,mjs,js,jsx}'],
43
43
  languageOptions: {
44
44
  parser: babelParser,
45
45
  parserOptions: configFile
46
- ? {
47
- babelOptions: {
48
- configFile,
49
- },
50
- }
46
+ ? { babelOptions: { configFile } }
51
47
  : { requireConfigFile: false },
52
48
  },
53
49
  plugins: {
@@ -119,7 +115,7 @@ const resolveSettings = {
119
115
 
120
116
  const tsBase = tseslint.config({
121
117
  name: '@1stg/ts-base',
122
- files: ['**/*.cts', '**/*.mts', '**/*.ts', '**/*.tsx'],
118
+ files: ['**/*.{cts,mts,ts,tsx}'],
123
119
  languageOptions: {
124
120
  parserOptions: {
125
121
  project,
@@ -222,7 +218,6 @@ const tsBase = tseslint.config({
222
218
  'no-unused-vars': 0,
223
219
  'no-use-before-define': 0,
224
220
  'no-useless-constructor': 0,
225
- 'n/shebang': 0,
226
221
  // covered by @typescript-eslint/no-floating-promises
227
222
  'promise/always-return': 0,
228
223
  'promise/catch-or-return': 0,
@@ -241,7 +236,7 @@ export const ts = tseslint.config(
241
236
  name: '@1stg/cli',
242
237
  files: ['**/{bin,cli}.ts'],
243
238
  rules: {
244
- 'n/shebang': 0,
239
+ 'n/hashbang': 0,
245
240
  },
246
241
  },
247
242
  {
@@ -256,7 +251,11 @@ export const ts = tseslint.config(
256
251
  {
257
252
  name: '@1stg/ts',
258
253
  files: ['**/*.{cts,mts,ts,tsx}'],
259
- ignores: ['**/*.{md,mdx}/**/*.{cts,mts,ts,tsx}', '*.d.{cts,mts,ts}'],
254
+ ignores: [
255
+ '**/*.{md,mdx}/**/*.{cts,mts,ts,tsx}',
256
+ '*.d.{cts,mts,ts}',
257
+ '*.d.*.{cts,mts,ts}',
258
+ ],
260
259
  extends: [tseslint.configs.recommendedTypeChecked],
261
260
  rules: {
262
261
  '@typescript-eslint/no-floating-promises': [
@@ -301,7 +300,7 @@ export const ts = tseslint.config(
301
300
  */
302
301
  export const dTs = {
303
302
  name: '@1stg/d-ts',
304
- files: ['**/*.d.cts', '**/*.d.mts', '**/*.d.ts'],
303
+ files: ['**/*.d.{cts,mts,ts}', '**/*.d.*.{cts,mts,ts}'],
305
304
  rules: {
306
305
  '@typescript-eslint/no-explicit-any': 0,
307
306
  '@typescript-eslint/no-extraneous-class': 0,
@@ -382,8 +381,8 @@ export const vue = tseslint.config(
382
381
  languageOptions: {
383
382
  parser: vueParser,
384
383
  parserOptions: {
385
- parser: babelParser,
386
384
  ...jsBase.languageOptions.parserOptions,
385
+ parser: babelParser,
387
386
  },
388
387
  },
389
388
  extends: vueExtends,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "8.0.2",
3
+ "version": "8.0.4",
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",
@@ -33,7 +33,7 @@
33
33
  "@pkgr/utils": "^3.0.0",
34
34
  "@typescript-eslint/eslint-plugin": "^8.26.0",
35
35
  "@typescript-eslint/parser": "^8.26.0",
36
- "angular-eslint": "^19.2.0",
36
+ "angular-eslint": "^19.2.1",
37
37
  "angular-eslint-template-parser": "^0.1.3",
38
38
  "eslint-config-prettier": "^10.1.1",
39
39
  "eslint-formatter-friendly": "^7.0.0",