lintus 0.1.0
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.
- checksums.yaml +7 -0
- data/.pre-commit-hooks.yaml +18 -0
- data/CHANGELOG.md +11 -0
- data/LICENSE.txt +21 -0
- data/README.md +239 -0
- data/Rakefile +12 -0
- data/action.yml +69 -0
- data/exe/lintus +6 -0
- data/lib/lintus/cli.rb +162 -0
- data/lib/lintus/config.rb +77 -0
- data/lib/lintus/file_finder.rb +67 -0
- data/lib/lintus/formatter/github.rb +32 -0
- data/lib/lintus/formatter/json.rb +26 -0
- data/lib/lintus/formatter/text.rb +22 -0
- data/lib/lintus/formatter.rb +47 -0
- data/lib/lintus/git.rb +52 -0
- data/lib/lintus/glob.rb +38 -0
- data/lib/lintus/offense.rb +14 -0
- data/lib/lintus/report.rb +55 -0
- data/lib/lintus/rule.rb +105 -0
- data/lib/lintus/runner.rb +97 -0
- data/lib/lintus/schema.rb +17 -0
- data/lib/lintus/source_file.rb +21 -0
- data/lib/lintus/template.rb +50 -0
- data/lib/lintus/version.rb +5 -0
- data/lib/lintus.rb +22 -0
- metadata +104 -0
metadata
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: lintus
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Vincent Rolea
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-09-21 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: jev
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0.2'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0.2'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: zeitwerk
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '2.6'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '2.6'
|
|
41
|
+
description: Lintus reads linting rules from a YAML file at the root of your repository,
|
|
42
|
+
asks the Typesafe Jev model each rule as a noul question against every matching
|
|
43
|
+
file, and reports an offense wherever the model says so. Runs on a whole tree, a
|
|
44
|
+
git diff, or the staged files of a commit.
|
|
45
|
+
email:
|
|
46
|
+
- 3525369+virolea@users.noreply.github.com
|
|
47
|
+
executables:
|
|
48
|
+
- lintus
|
|
49
|
+
extensions: []
|
|
50
|
+
extra_rdoc_files: []
|
|
51
|
+
files:
|
|
52
|
+
- ".pre-commit-hooks.yaml"
|
|
53
|
+
- CHANGELOG.md
|
|
54
|
+
- LICENSE.txt
|
|
55
|
+
- README.md
|
|
56
|
+
- Rakefile
|
|
57
|
+
- action.yml
|
|
58
|
+
- exe/lintus
|
|
59
|
+
- lib/lintus.rb
|
|
60
|
+
- lib/lintus/cli.rb
|
|
61
|
+
- lib/lintus/config.rb
|
|
62
|
+
- lib/lintus/file_finder.rb
|
|
63
|
+
- lib/lintus/formatter.rb
|
|
64
|
+
- lib/lintus/formatter/github.rb
|
|
65
|
+
- lib/lintus/formatter/json.rb
|
|
66
|
+
- lib/lintus/formatter/text.rb
|
|
67
|
+
- lib/lintus/git.rb
|
|
68
|
+
- lib/lintus/glob.rb
|
|
69
|
+
- lib/lintus/offense.rb
|
|
70
|
+
- lib/lintus/report.rb
|
|
71
|
+
- lib/lintus/rule.rb
|
|
72
|
+
- lib/lintus/runner.rb
|
|
73
|
+
- lib/lintus/schema.rb
|
|
74
|
+
- lib/lintus/source_file.rb
|
|
75
|
+
- lib/lintus/template.rb
|
|
76
|
+
- lib/lintus/version.rb
|
|
77
|
+
homepage: https://github.com/virolea/lintus
|
|
78
|
+
licenses:
|
|
79
|
+
- MIT
|
|
80
|
+
metadata:
|
|
81
|
+
allowed_push_host: https://rubygems.org
|
|
82
|
+
homepage_uri: https://github.com/virolea/lintus
|
|
83
|
+
changelog_uri: https://github.com/virolea/lintus/blob/main/CHANGELOG.md
|
|
84
|
+
rubygems_mfa_required: 'true'
|
|
85
|
+
post_install_message:
|
|
86
|
+
rdoc_options: []
|
|
87
|
+
require_paths:
|
|
88
|
+
- lib
|
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
91
|
+
- - ">="
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: 3.2.0
|
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
- - ">="
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: '0'
|
|
99
|
+
requirements: []
|
|
100
|
+
rubygems_version: 3.5.22
|
|
101
|
+
signing_key:
|
|
102
|
+
specification_version: 4
|
|
103
|
+
summary: A linter whose rules are plain-language questions, answered by the Jev model.
|
|
104
|
+
test_files: []
|