@bfra.me/eslint-config 0.29.0 → 0.29.1

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/lib/index.js CHANGED
@@ -76,7 +76,7 @@ var GLOB_EXCLUDE = [
76
76
  import { fileURLToPath } from "url";
77
77
 
78
78
  // package.json
79
- var version = "0.29.0";
79
+ var version = "0.29.1";
80
80
 
81
81
  // src/parsers/any-parser.ts
82
82
  var lineBreakPattern = /\r\n|[\n\r\u2028\u2029]/u;
@@ -784,17 +784,17 @@ async function markdown(options = {}) {
784
784
  parserOptions: {
785
785
  ecmaFeatures: {
786
786
  impliedStrict: true
787
- },
788
- // Explicitly disable project for these files to prevent type-aware linting
789
- project: false
787
+ }
790
788
  }
791
789
  },
792
790
  rules: {
793
791
  // Only disable non-type-aware rules we want to skip for markdown code blocks
792
+ "@typescript-eslint/no-namespace": "off",
794
793
  "@typescript-eslint/consistent-type-imports": "off",
795
794
  "@typescript-eslint/explicit-function-return-type": "off",
796
795
  "@typescript-eslint/no-redeclare": "off",
797
796
  "@typescript-eslint/no-require-imports": "off",
797
+ "@typescript-eslint/no-unused-expressions": "off",
798
798
  "@typescript-eslint/no-unused-vars": "off",
799
799
  "@typescript-eslint/no-use-before-define": "off",
800
800
  "@typescript-eslint/no-var-requires": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bfra.me/eslint-config",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "Shared ESLint configuration for bfra.me",
5
5
  "keywords": [
6
6
  "bfra.me",
@@ -78,9 +78,9 @@
78
78
  "eslint-typegen": "2.3.0",
79
79
  "tsup": "8.5.0",
80
80
  "tsx": "4.20.5",
81
- "@bfra.me/eslint-config": "0.29.0",
82
- "@bfra.me/tsconfig": "0.12.0",
83
- "@bfra.me/prettier-config": "0.16.1"
81
+ "@bfra.me/eslint-config": "0.29.1",
82
+ "@bfra.me/prettier-config": "0.16.1",
83
+ "@bfra.me/tsconfig": "0.12.0"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@vitest/eslint-plugin": "^1.1.21",
@@ -90,17 +90,17 @@ export async function markdown(options: MarkdownOptions = {}): Promise<Config[]>
90
90
  ecmaFeatures: {
91
91
  impliedStrict: true,
92
92
  },
93
- // Explicitly disable project for these files to prevent type-aware linting
94
- project: false,
95
93
  },
96
94
  },
97
95
  rules: {
98
96
  // Only disable non-type-aware rules we want to skip for markdown code blocks
99
97
 
98
+ '@typescript-eslint/no-namespace': 'off',
100
99
  '@typescript-eslint/consistent-type-imports': 'off',
101
100
  '@typescript-eslint/explicit-function-return-type': 'off',
102
101
  '@typescript-eslint/no-redeclare': 'off',
103
102
  '@typescript-eslint/no-require-imports': 'off',
103
+ '@typescript-eslint/no-unused-expressions': 'off',
104
104
  '@typescript-eslint/no-unused-vars': 'off',
105
105
  '@typescript-eslint/no-use-before-define': 'off',
106
106
  '@typescript-eslint/no-var-requires': 'off',