platformos-check 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/CONTRIBUTING.md +2 -2
- data/README.md +1 -1
- data/config/default.yml +0 -1
- data/data/platformos_liquid/documentation/filters.json +1 -1
- data/data/platformos_liquid/documentation/latest.json +1 -1
- data/docs/checks/undefined_object.md +0 -5
- data/lib/platformos_check/analyzer.rb +1 -1
- data/lib/platformos_check/app.rb +3 -3
- data/lib/platformos_check/checks/undefined_object.rb +35 -39
- data/lib/platformos_check/checks/unused_assign.rb +4 -0
- data/lib/platformos_check/checks.rb +6 -0
- data/lib/platformos_check/language_server/configuration.rb +1 -1
- data/lib/platformos_check/liquid_visitor.rb +8 -1
- data/lib/platformos_check/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d317404f687b20085ee3bd3772b83b791beaac299895868791b1a0c9d1379a0f
|
4
|
+
data.tar.gz: 503ef865bed91af1a1075e19cbde4f413047da2e1f91254f6f0146ee822b4df4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9809a013343529578a1c5b1fe1f045569173dd05bc60cb3a475ef9e9c8563a9dac5d3fdb934ea030806d51d5e59381f23b0712db435fb3107282d9bfdb0b5d34
|
7
|
+
data.tar.gz: '0917811b08472cf1f8abbc0845044b62250a8a7d04c75aafbb47a3e5d97779098ff5c24d9bd932b447c47a558cab8a5916d225d0f810b6d82466bc09adc06fea'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
v0.2.2 / 2023-09-15
|
2
|
+
==================
|
3
|
+
|
4
|
+
* Do not crash when directory is copied to partials path
|
5
|
+
|
6
|
+
v0.2.1 / 2023-09-14
|
7
|
+
==================
|
8
|
+
|
9
|
+
* Single file should be default mode for LSP now
|
10
|
+
* Make all checks work in single file mode - greatly enhance performance
|
11
|
+
|
1
12
|
v0.2.0 / 2023-09-13
|
2
13
|
==================
|
3
14
|
|
data/CONTRIBUTING.md
CHANGED
@@ -55,7 +55,7 @@ Before configuring your IDE, run the following commands in a terminal:
|
|
55
55
|
|
56
56
|
```
|
57
57
|
"platformosCheck.checkOnChange": true,
|
58
|
-
"platformosCheck.onlySingleFileChecks":
|
58
|
+
"platformosCheck.onlySingleFileChecks": true,
|
59
59
|
"platformosLiquid.languageServerPath": "/Users/<your user>/bin/platformos-check-language-server",
|
60
60
|
"platformosCheck.checkOnOpen": true,
|
61
61
|
"platformosCheck.checkOnSave": true
|
@@ -77,7 +77,7 @@ If you use `coc.nvim` as your completion engine, add this to your CocConfig:
|
|
77
77
|
"platformosCheck": {
|
78
78
|
"checkOnSave": true,
|
79
79
|
"checkEnter": true,
|
80
|
-
"onlySingleFileChecks":
|
80
|
+
"onlySingleFileChecks": true,
|
81
81
|
"checkOnChange": true,
|
82
82
|
"checkOnOpen": true
|
83
83
|
}
|
data/README.md
CHANGED
@@ -193,7 +193,7 @@ DeprecateLazysizes:
|
|
193
193
|
- `platformosCheck.checkOnOpen` (default: `true`) makes it so theme check runs on file open.
|
194
194
|
- `platformosCheck.checkOnChange` (default: `true`) makes it so theme check runs on file change.
|
195
195
|
- `platformosCheck.checkOnSave` (default: `true`) makes it so theme check runs on file save.
|
196
|
-
- `platformosCheck.onlySingleFileChecks` (default: `false`) makes it so we only check the opened files and disable "whole
|
196
|
+
- `platformosCheck.onlySingleFileChecks` (default: `false`) makes it so we only check the opened files and disable "whole application" checks (e.g. UnusedPartial, TranslationKeyExists)
|
197
197
|
|
198
198
|
⚠️ **Note:** Quickfixes only work on a freshly checked file. If any of those configurations are turned off, you will need to rerun platformos-check in order to apply quickfixes.
|
199
199
|
|