lintrunner 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.lintrunner_config +30 -0
- data/.rubocop.yml +1057 -0
- data/.scss-lint.yml +191 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/bin/lintrunner +8 -0
- data/lib/lintrunner/cli.rb +97 -0
- data/lib/lintrunner/executor.rb +23 -0
- data/lib/lintrunner/git_helpers.rb +11 -0
- data/lib/lintrunner/message.rb +14 -0
- data/lib/lintrunner/options.rb +78 -0
- data/lib/lintrunner/parser/base.rb +19 -0
- data/lib/lintrunner/parser/eslint.rb +28 -0
- data/lib/lintrunner/parser/rubocop.rb +57 -0
- data/lib/lintrunner/parser/scss_lint.rb +36 -0
- data/lib/lintrunner/plugin.rb +5 -0
- data/lib/lintrunner/reporter/base.rb +30 -0
- data/lib/lintrunner/reporter/context.rb +24 -0
- data/lib/lintrunner/reporter/file.rb +11 -0
- data/lib/lintrunner/reporter/text.rb +29 -0
- data/lib/lintrunner/runner/base.rb +21 -0
- data/lib/lintrunner/runner/changed_file.rb +24 -0
- data/lib/lintrunner/runner/diff.rb +89 -0
- data/lib/lintrunner/runner/new_file.rb +26 -0
- data/lib/lintrunner/runner/repo.rb +31 -0
- data/lib/lintrunner/version.rb +3 -0
- data/lib/lintrunner.rb +34 -0
- data/lintrunner.gemspec +26 -0
- data/test.rb +43 -0
- data/test2.rb +7 -0
- metadata +134 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 63f7d822ca84192e497deb7cab8700a7286fc75f
|
4
|
+
data.tar.gz: 31eb73ae028df0316e92285f6001566b2d302906
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: bbb8f0aa100f0d2ac7f1efb6a978d2bddeb21743728fd5ded20f205ec43c3c980612b4d454b37202005edf862af6a24187cd68563a8e22a62660d2e0e50afadd
|
7
|
+
data.tar.gz: 2886e360b9dc47895253a296c6e088d3cd26e63de78510c82fadac909fc35f5b46f36fa7496cc7306c56cb99a486cfd33fd6361e6202205d8c06ce1e0b432c54
|
data/.gitignore
ADDED
data/.lintrunner_config
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"include_paths": ["."],
|
3
|
+
"require": ["test.rb"],
|
4
|
+
"linters": {
|
5
|
+
"binding.pry check": {
|
6
|
+
"plugin": "BindingPryCheck",
|
7
|
+
"runner": "Repo",
|
8
|
+
"match": ".rb",
|
9
|
+
"disabled": "true"
|
10
|
+
},
|
11
|
+
"scss": {
|
12
|
+
"command": "scss-lint -f JSON --config .scss-lint.yml",
|
13
|
+
"parser": "SCSSLint",
|
14
|
+
"runner": "Diff",
|
15
|
+
"match": ".scss"
|
16
|
+
},
|
17
|
+
"rubocop": {
|
18
|
+
"command": "rubocop -f json --config .rubocop.yml",
|
19
|
+
"parser": "Rubocop",
|
20
|
+
"runner": "Repo",
|
21
|
+
"match": ".rb"
|
22
|
+
},
|
23
|
+
"eslint": {
|
24
|
+
"command": "eslint -f compact -c .eslintrc",
|
25
|
+
"parser": "Eslint",
|
26
|
+
"runner": "Repo",
|
27
|
+
"match": ".js"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|