@1stg/eslint-config 8.0.6 → 8.0.8
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 +12 -0
- package/base.js +1 -0
- package/overrides.js +10 -6
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3227ee5`](https://github.com/1stG/configs/commit/3227ee51ded4655604730c2609f6c0b8f3b6417c) Thanks [@JounQin](https://github.com/JounQin)! - chore(eslint-config): drop outdated eslint-formatter-friendly
|
|
8
|
+
|
|
9
|
+
## 8.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`709e779`](https://github.com/1stG/configs/commit/709e779d29bf8c604826aca16eb498a93b793b17) Thanks [@JounQin](https://github.com/JounQin)! - chore: enable `ignoreUsedVariables` for `prefer-export-from` rule
|
|
14
|
+
|
|
3
15
|
## 8.0.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/base.js
CHANGED
package/overrides.js
CHANGED
|
@@ -29,13 +29,17 @@ import vueParser from 'vue-eslint-parser'
|
|
|
29
29
|
|
|
30
30
|
import { isTsAvailable, magicNumbers, prettierExtends } from './_util.js'
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* @import {TSESLint} from '@typescript-eslint/utils'
|
|
34
|
+
*/
|
|
35
|
+
|
|
32
36
|
const configFile =
|
|
33
37
|
tryFile(path.resolve('babel.config.js')) ||
|
|
34
38
|
tryFile(path.resolve('.babelrc.js')) ||
|
|
35
39
|
tryPkg('@1stg/babel-preset/config')
|
|
36
40
|
|
|
37
41
|
/**
|
|
38
|
-
* @satisfies {
|
|
42
|
+
* @satisfies {TSESLint.FlatConfig.Config}
|
|
39
43
|
*/
|
|
40
44
|
const jsBase = {
|
|
41
45
|
name: '@1stg/js-base',
|
|
@@ -296,7 +300,7 @@ export const ts = tseslint.config(
|
|
|
296
300
|
)
|
|
297
301
|
|
|
298
302
|
/**
|
|
299
|
-
* @
|
|
303
|
+
* @satisfies {TSESLint.FlatConfig.Config}
|
|
300
304
|
*/
|
|
301
305
|
export const dTs = {
|
|
302
306
|
name: '@1stg/d-ts',
|
|
@@ -518,7 +522,7 @@ const nonSourceRules = /** @type {const} */ ({
|
|
|
518
522
|
})
|
|
519
523
|
|
|
520
524
|
/**
|
|
521
|
-
* @
|
|
525
|
+
* @satisfies {TSESLint.FlatConfig.Config}
|
|
522
526
|
*/
|
|
523
527
|
export const test = {
|
|
524
528
|
name: '@1stg/test',
|
|
@@ -536,7 +540,7 @@ export const jest = tseslint.config({
|
|
|
536
540
|
})
|
|
537
541
|
|
|
538
542
|
/**
|
|
539
|
-
* @
|
|
543
|
+
* @satisfies {TSESLint.FlatConfig.Config}
|
|
540
544
|
*/
|
|
541
545
|
export const script = {
|
|
542
546
|
name: '@1stg/script',
|
|
@@ -547,7 +551,7 @@ export const script = {
|
|
|
547
551
|
export const scripts = script
|
|
548
552
|
|
|
549
553
|
/**
|
|
550
|
-
* @
|
|
554
|
+
* @satisfies {TSESLint.FlatConfig.Config}
|
|
551
555
|
*/
|
|
552
556
|
export const story = {
|
|
553
557
|
name: '@1stg/story',
|
|
@@ -558,7 +562,7 @@ export const story = {
|
|
|
558
562
|
export const stories = story
|
|
559
563
|
|
|
560
564
|
/**
|
|
561
|
-
* @
|
|
565
|
+
* @satisfies {TSESLint.FlatConfig.Config}
|
|
562
566
|
*/
|
|
563
567
|
export const config = {
|
|
564
568
|
name: '@1stg/config',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.8",
|
|
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",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"angular-eslint": "^19.2.1",
|
|
37
37
|
"angular-eslint-template-parser": "^0.1.3",
|
|
38
38
|
"eslint-config-prettier": "^10.1.1",
|
|
39
|
-
"eslint-formatter-friendly": "^7.0.0",
|
|
40
39
|
"eslint-import-resolver-typescript": "^3.8.3",
|
|
41
40
|
"eslint-plugin-css": "^0.11.0",
|
|
42
41
|
"eslint-plugin-import-x": "^4.6.1",
|