@oliver139/eslint-config 2.5.0 → 2.6.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/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import c5 from "ansis";
5
5
  import { cac } from "cac";
6
6
 
7
7
  // package.json
8
- var version = "2.5.0";
8
+ var version = "2.6.1";
9
9
 
10
10
  // src/cli/run.ts
11
11
  import fs3 from "node:fs";
package/dist/index.d.ts CHANGED
@@ -17379,7 +17379,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
17379
17379
  onlyEquality?: boolean
17380
17380
  }]
17381
17381
  // Names of all the configs
17382
- type ConfigNames = 'antfu/astro/setup' | 'antfu/astro/rules' | 'antfu/eslint-comments/rules' | 'antfu/formatter/setup' | 'antfu/imports/rules' | 'antfu/javascript/setup' | 'antfu/javascript/rules' | 'antfu/jsx/setup' | 'antfu/jsdoc/rules' | 'antfu/jsonc/setup' | 'antfu/jsonc/rules' | 'antfu/markdown/setup' | 'antfu/markdown/processor' | 'antfu/markdown/parser' | 'antfu/markdown/disables' | 'antfu/node/rules' | 'antfu/perfectionist/setup' | 'antfu/react/setup' | 'antfu/react/rules' | 'antfu/solid/setup' | 'antfu/solid/rules' | 'antfu/sort/package-json' | 'antfu/stylistic/rules' | 'antfu/svelte/setup' | 'antfu/svelte/rules' | 'antfu/test/setup' | 'antfu/test/rules' | 'antfu/toml/setup' | 'antfu/toml/rules' | 'antfu/regexp/rules' | 'antfu/typescript/setup' | 'antfu/typescript/parser' | 'antfu/typescript/rules' | 'antfu/unicorn/rules' | 'antfu/unocss' | 'antfu/vue/setup' | 'antfu/vue/rules' | 'antfu/yaml/setup' | 'antfu/yaml/rules' | 'antfu/yaml/pnpm-workspace'
17382
+ type ConfigNames = 'antfu/astro/setup' | 'antfu/astro/rules' | 'antfu/eslint-comments/rules' | 'antfu/formatter/setup' | 'antfu/imports/rules' | 'antfu/javascript/setup' | 'antfu/javascript/rules' | 'antfu/jsx/setup' | 'antfu/jsdoc/rules' | 'antfu/jsonc/setup' | 'antfu/jsonc/rules' | 'antfu/markdown/setup' | 'antfu/markdown/processor' | 'antfu/markdown/parser' | 'antfu/markdown/disables' | 'antfu/markdown/disables-2' | 'antfu/node/rules' | 'antfu/perfectionist/setup' | 'antfu/react/setup' | 'antfu/react/rules' | 'antfu/solid/setup' | 'antfu/solid/rules' | 'antfu/sort/package-json' | 'antfu/stylistic/rules' | 'antfu/svelte/setup' | 'antfu/svelte/rules' | 'antfu/test/setup' | 'antfu/test/rules' | 'antfu/toml/setup' | 'antfu/toml/rules' | 'antfu/regexp/rules' | 'antfu/typescript/setup' | 'antfu/typescript/parser' | 'antfu/typescript/rules' | 'antfu/unicorn/rules' | 'antfu/unocss' | 'antfu/vue/setup' | 'antfu/vue/rules' | 'antfu/yaml/setup' | 'antfu/yaml/rules' | 'antfu/yaml/pnpm-workspace'
17383
17383
 
17384
17384
  /**
17385
17385
  * Vendor types from Prettier so we don't rely on the dependency.
package/dist/index.js CHANGED
@@ -1155,6 +1155,20 @@ async function markdown(options = {}) {
1155
1155
  "unused-imports/no-unused-vars": "off",
1156
1156
  ...overrides
1157
1157
  }
1158
+ },
1159
+ {
1160
+ files,
1161
+ languageOptions: {
1162
+ parserOptions: {
1163
+ ecmaFeatures: {
1164
+ impliedStrict: true
1165
+ }
1166
+ }
1167
+ },
1168
+ name: "antfu/markdown/disables-2",
1169
+ rules: {
1170
+ "style/no-trailing-spaces": "off"
1171
+ }
1158
1172
  }
1159
1173
  ];
1160
1174
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oliver139/eslint-config",
3
3
  "type": "module",
4
- "version": "2.5.0",
4
+ "version": "2.6.1",
5
5
  "description": " Oliver's ESLint config preset powered by @antfu/eslint-config",
6
6
  "author": "Oliver Mak <oliver139.working@gmail.com> (https://github.com/oliver139)",
7
7
  "license": "MIT",
@@ -159,7 +159,7 @@
159
159
  "typescript": "^5.8.3",
160
160
  "vitest": "^3.1.1",
161
161
  "vue": "^3.5.13",
162
- "@oliver139/eslint-config": "2.5.0"
162
+ "@oliver139/eslint-config": "2.6.1"
163
163
  },
164
164
  "simple-git-hooks": {
165
165
  "pre-commit": "npx lint-staged"