astro-eslint-parser 0.4.2 → 0.4.5

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 (2) hide show
  1. package/README.md +0 -27
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -144,33 +144,6 @@ You can use `parserOptions.astroFeatures` property to specify how to parse relat
144
144
  }
145
145
  ```
146
146
 
147
- ### parserOptions.vueFeatures.syntax
148
-
149
- You can use `parserOptions.vueFeatures.syntax` property to choose whether to parse as Astro Component (`*.astro`) or Astro Markdown Page (`*.md`).
150
- If `"astro"` is specified, it will be parsed as `*.astro`. If `"markdown"` is specified, it will be parsed as `*.md`. If `"auto"` is specified, it will be automatically selected from the file extensions.
151
- For example:
152
-
153
- ```json
154
- {
155
- "parser": "astro-eslint-parser",
156
- "parserOptions": {
157
- "astroFeatures": {
158
- "syntax": "auto", // or "astro", or "markdown"
159
- }
160
- }
161
- }
162
- ```
163
-
164
- #### Known Limitations on Markdown Pages
165
-
166
- There are some known limitations when parsing Markdown Pages for ESLint integration.
167
-
168
- - Incompatible with ESLint's [indent] rule. Turn off the [indent] rule in the markdown file. Otherwise the file syntax will be broken.
169
- - Incompatible with [eslint-plugin-markdown]. eslint-plugin-markdown separates the contents of markdown by the processor. So using this parser doesn't work because the parser doesn't know the whole markdown.
170
-
171
- [indent]: https://eslint.org/docs/rules/indent
172
- [eslint-plugin-markdown]: https://github.com/eslint/eslint-plugin-markdown
173
-
174
147
  ## :computer: Editor Integrations
175
148
 
176
149
  ### Visual Studio Code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-eslint-parser",
3
- "version": "0.4.2",
3
+ "version": "0.4.5",
4
4
  "description": "Astro component parser for ESLint",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "homepage": "https://github.com/ota-meshi/astro-eslint-parser#readme",
44
44
  "dependencies": {
45
- "@astrojs/compiler": "^0.18.0 || ^0.19.0 || ^0.20.0",
45
+ "@astrojs/compiler": "0.18.0 - 0.23.0 || ^0.23.0",
46
46
  "@typescript-eslint/types": "^5.25.0",
47
47
  "debug": "^4.3.4",
48
48
  "eslint-visitor-keys": "^3.0.0",
@@ -71,9 +71,9 @@
71
71
  "eslint": "^8.15.0",
72
72
  "eslint-config-prettier": "^8.3.0",
73
73
  "eslint-formatter-codeframe": "^7.32.1",
74
- "eslint-plugin-astro": "^0.15.0",
74
+ "eslint-plugin-astro": "^0.16.0",
75
75
  "eslint-plugin-eslint-comments": "^3.2.0",
76
- "eslint-plugin-json-schema-validator": "^3.0.0",
76
+ "eslint-plugin-json-schema-validator": "^4.0.0",
77
77
  "eslint-plugin-jsonc": "^2.0.0",
78
78
  "eslint-plugin-jsx-a11y": "^6.5.1",
79
79
  "eslint-plugin-node": "^11.1.0",
@@ -89,7 +89,7 @@
89
89
  "mocha-chai-jest-snapshot": "^1.1.3",
90
90
  "nyc": "^15.1.0",
91
91
  "prettier": "^2.0.5",
92
- "prettier-plugin-astro": "^0.1.0-0",
92
+ "prettier-plugin-astro": "^0.3.0",
93
93
  "prettier-plugin-svelte": "^2.7.0",
94
94
  "semver": "^7.3.5",
95
95
  "string-replace-loader": "^3.0.3",