antlr-format
Advanced tools
Comparing version 2.0.4 to 2.1.0
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "A formatter lib for ANTLR4 grammars", | ||
@@ -12,2 +12,3 @@ "type": "module", | ||
"scripts": { | ||
"prepublishOnly": "npm run generate && npm run build-minified && npm run test", | ||
"generate": "antlr4ng -Dlanguage=TypeScript -no-visitor -no-listener -Xexact-output-dir grammars/LexBasic.g4 grammars/ANTLRv4Lexer.g4 -o src/parser", | ||
@@ -14,0 +15,0 @@ "test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage", |
@@ -22,2 +22,6 @@ [![Weekly Downloads](https://img.shields.io/npm/dw/antlr-format?style=for-the-badge&color=blue)](https://www.npmjs.com/package/antlr-format) | ||
### 2.1.0 | ||
Made `useTab` false by default. No idea why I made this true by default. I hate tabs in source files. | ||
### 2.0.3 - 2.0.4 | ||
@@ -28,2 +32,3 @@ | ||
- Added support for rule options, which are formatted like global options. | ||
- Fixed a bug where the formatter added formatting options, even if there were already some in the grammar. | ||
@@ -30,0 +35,0 @@ ### 2.0.2 |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
162321
52