@volar/eslint 2.2.5 → 2.3.0-alpha.0

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/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { LanguagePlugin } from '@volar/language-core';
2
2
  import type { Linter } from 'eslint';
3
- export declare function createProcessor(languagePlugins: LanguagePlugin[], caseSensitive: boolean, extensionsMap?: Record<string, string>, supportsAutofix?: boolean): Linter.Processor;
3
+ export declare function createProcessor(languagePlugins: LanguagePlugin<string>[], caseSensitive: boolean, extensionsMap?: Record<string, string>, supportsAutofix?: boolean): Linter.Processor;
package/index.js CHANGED
@@ -22,7 +22,7 @@ function createProcessor(languagePlugins, caseSensitive, extensionsMap = {
22
22
  'yaml': '.yaml',
23
23
  'markdown': '.md',
24
24
  }, supportsAutofix = true) {
25
- const language = (0, language_core_1.createLanguage)(languagePlugins, caseSensitive, () => { });
25
+ const language = (0, language_core_1.createLanguage)(languagePlugins, new language_core_1.FileMap(caseSensitive), () => { });
26
26
  const documents = new language_core_1.FileMap(caseSensitive);
27
27
  return {
28
28
  supportsAutofix,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volar/eslint",
3
- "version": "2.2.5",
3
+ "version": "2.3.0-alpha.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -13,8 +13,8 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@types/eslint": "^8.56.10",
16
- "@volar/language-core": "2.2.5",
16
+ "@volar/language-core": "2.3.0-alpha.0",
17
17
  "vscode-languageserver-textdocument": "^1.0.11"
18
18
  },
19
- "gitHead": "ee4aaa9da58c4c942d6cb74f9028d19b7ef4465d"
19
+ "gitHead": "f17c19f712651acde33cc2171a112e64db0b460e"
20
20
  }