astro-eslint-parser 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -41,7 +41,10 @@ npm install --save-dev eslint astro-eslint-parser
41
41
 
42
42
  ## 📖 Usage
43
43
 
44
- 1. Write `overrides.parser` option into your `.eslintrc.*` file.
44
+ **First, we recommend using [eslint-plugin-astro] rather than just the parser.**
45
+ The following usage it are for introducing only the parser. This is not useful for most people. It can be useful if you create your own plugin.
46
+
47
+ 1. Write `overrides[*].parser` option into your `.eslintrc.*` file.
45
48
 
46
49
  ```json
47
50
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-eslint-parser",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
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.16.1",
45
+ "@astrojs/compiler": "^0.17.0",
46
46
  "@typescript-eslint/types": "^5.25.0",
47
47
  "debug": "^4.3.4",
48
48
  "eslint-visitor-keys": "^3.0.0",
@@ -72,7 +72,7 @@
72
72
  "eslint": "^8.15.0",
73
73
  "eslint-config-prettier": "^8.3.0",
74
74
  "eslint-formatter-codeframe": "^7.32.1",
75
- "eslint-plugin-astro": "^0.12.0",
75
+ "eslint-plugin-astro": "^0.14.0",
76
76
  "eslint-plugin-eslint-comments": "^3.2.0",
77
77
  "eslint-plugin-json-schema-validator": "^3.0.0",
78
78
  "eslint-plugin-jsonc": "^2.0.0",