Skip to content

Commit 8e50bf6

Browse files
committed
Update changelog and readme
1 parent a1ca811 commit 8e50bf6

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to the "firecode" extension will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

7+
## [1.3.0] - 2020-09-15
8+
### Added
9+
- Experimental support for formatting using [prettier](https://prettier.io/) and [prettier-plugin-firestore-rules](https://github.com/ChFlick/prettier-plugin-firestore-rules).
10+
- Configuration flag `firestorerules.usePrettierFormatter` to switch between the prettier and default formatter.
11+
712
## [1.2.11] - 2020-09-15
813
### Fixed
914
- Formatting whitespace on empty lines

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Works for `.rule` and `.rules` files.
2727

2828
Only works for valid rules and currently only formats the indentation.
2929

30+
**Experimental:**
31+
Version 1.3.0 intoduced a new formatter option which can be enabled in the configuration, `firestorerules.usePrettierFormatter`.
32+
When the option is enabled, the project uses [prettier](https://prettier.io/) and the [prettier-plugin-firestore-rules](https://github.com/ChFlick/prettier-plugin-firestore-rules) to format the firestore rules.
33+
3034
## Known Issues
3135

3236
* The documentation of the get(/path/) function is currently not correct
@@ -35,7 +39,6 @@ This extension is still very fresh and under development, so if you have any iss
3539

3640
## Development
3741

38-
There are still some todos with autocompletion and mouseover information, but currently I'm working on the autoformatter.
42+
I'm working on improving the prettier-plugin-firestore-rules formatter as well as the corresponding [firestore rules parser (WIP)](https://github.com/ChFlick/prettier-plugin-firestore-rules).
3943

40-
I'm currently creating a [prettier](https://prettier.io/) plugin for this purpose.
41-
The repository (WIP) can be found [here](https://github.com/ChFlick/prettier-plugin-firestore-rules)
44+
When the parser is in a proper shape, it will be included to provide validation of the firestore rules.

0 commit comments

Comments
 (0)