bend-lint 0.3.4 → 0.3.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.
package/README.md CHANGED
@@ -131,8 +131,8 @@ A rule is a file in `bend-lint-rules/`. It imports bend-lint's rule API from Ben
131
131
 
132
132
  ```
133
133
  import Base
134
- import bend-lint-api@0.3.4.0/linter/api/impl.bend as LintImpl
135
- import bend-lint-api@0.3.4.0/linter/api/spec.bend as Lint
134
+ import bend-lint-api@0.3.5.0/linter/api/impl.bend as LintImpl
135
+ import bend-lint-api@0.3.5.0/linter/api/spec.bend as Lint
136
136
 
137
137
  def rule() -> Lint.Rule:
138
138
  ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bend-lint",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Diagnostics for Bend 2 from rules outside the language: source text, and the checker's types",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,8 +1,8 @@
1
1
  # The program seam.ts writes from bend-lint.json calls `run` with its rules: `Cli.run(~[Cli.Rule{"x", X.rule()}])`.
2
2
  import Base
3
- import bend-lint-api@0.3.4.0/shared.bend as Shared
4
- import bend-lint-api@0.3.4.0/linter/api/impl.bend as LintImpl
5
- import bend-lint-api@0.3.4.0/linter/api/spec.bend as Lint
3
+ import bend-lint-api@0.3.5.0/shared.bend as Shared
4
+ import bend-lint-api@0.3.5.0/linter/api/impl.bend as LintImpl
5
+ import bend-lint-api@0.3.5.0/linter/api/spec.bend as Lint
6
6
  import ./directives/impl.bend as DirectivesImpl
7
7
  import ./directives/spec.bend as Directives
8
8
  import ./shared/files/impl.bend as FilesImpl
@@ -1,7 +1,7 @@
1
1
  import Base
2
- import bend-lint-api@0.3.4.0/shared.bend as Shared
3
- import bend-lint-api@0.3.4.0/linter/api/impl.bend as LintImpl
4
- import bend-lint-api@0.3.4.0/linter/api/spec.bend as Lint
2
+ import bend-lint-api@0.3.5.0/shared.bend as Shared
3
+ import bend-lint-api@0.3.5.0/linter/api/impl.bend as LintImpl
4
+ import bend-lint-api@0.3.5.0/linter/api/spec.bend as Lint
5
5
  import ../shared/text/impl.bend as TextImpl
6
6
  import ../shared/text/spec.bend as Text
7
7
  import ./spec.bend as Spec
@@ -1,6 +1,6 @@
1
1
  # Directives: the `# bend-lint:` comments that disable or expect findings.
2
2
  import Base
3
- import bend-lint-api@0.3.4.0/linter/api/spec.bend as Lint
3
+ import bend-lint-api@0.3.5.0/linter/api/spec.bend as Lint
4
4
 
5
5
  # A comment: where it is (code points), its line (from 0), whether code comes before it on its line, and its text
6
6
  # after the #.
@@ -1,5 +1,5 @@
1
1
  import Base
2
- import bend-lint-api@0.3.4.0/shared.bend as Shared
2
+ import bend-lint-api@0.3.5.0/shared.bend as Shared
3
3
  import ./spec.bend as Spec
4
4
 
5
5
  # Types
@@ -1,7 +1,7 @@
1
1
  import Base
2
- import bend-lint-api@0.3.4.0/shared.bend as Shared
3
- import bend-lint-api@0.3.4.0/linter/api/impl.bend as LintImpl
4
- import bend-lint-api@0.3.4.0/linter/api/spec.bend as Lint
2
+ import bend-lint-api@0.3.5.0/shared.bend as Shared
3
+ import bend-lint-api@0.3.5.0/linter/api/impl.bend as LintImpl
4
+ import bend-lint-api@0.3.5.0/linter/api/spec.bend as Lint
5
5
  import ../files/impl.bend as FilesImpl
6
6
  import ../files/spec.bend as Files
7
7
  import ../text/impl.bend as TextImpl
@@ -1,6 +1,6 @@
1
1
  # The fixes a run makes with `--fix-dangerously`: no fix is proven to keep the program until Bend's checker is Bend.
2
2
  import Base
3
- import bend-lint-api@0.3.4.0/linter/api/spec.bend as Lint
3
+ import bend-lint-api@0.3.5.0/linter/api/spec.bend as Lint
4
4
  import ../text/spec.bend as Text
5
5
 
6
6
  # The text of each of `sources`, by its path, onto `out`.
@@ -1,5 +1,5 @@
1
1
  import Base
2
- import bend-lint-api@0.3.4.0/shared.bend as Shared
2
+ import bend-lint-api@0.3.5.0/shared.bend as Shared
3
3
  import ./spec.bend as Spec
4
4
 
5
5
  # Types
@@ -1,5 +1,5 @@
1
1
  import Base
2
- import bend-lint-api@0.3.4.0/shared.bend as Shared
2
+ import bend-lint-api@0.3.5.0/shared.bend as Shared
3
3
  import ./spec.bend as Spec
4
4
 
5
5
  # By place: a balanced (AVL) tree, by start, then end; `height` counts its levels. As spans never touch, their ends