hound-cli 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 10f14da46fe0a40dceaad663aad612f90dfd614b
4
- data.tar.gz: e1d11eb8f9bdd4579586db32f2c4ab58ce870587
2
+ SHA256:
3
+ metadata.gz: 4d9cd058c8c9a1bbed9df285ecba7a2538930d87dfb42f85fb34c5c59ae8f3df
4
+ data.tar.gz: 57086f97c0d813455a892bb32727c47a168c025c118027f4beff581bf48639e9
5
5
  SHA512:
6
- metadata.gz: 800b649e052f6b6b61d562be4dbec6c9ef48d7dfa0e7d45b5b4a11c742ccaae3bbf284c107ef775fc8f469911002aebcf7a7c2c7c2a246bddef7d4206041b9d1
7
- data.tar.gz: ccaf40c0be012277132e22e7e1643272756d2c1b72dd8aafadae756fd2c2112590dc68137a22bf46d3a73e67f007c037f784b2f143574aba7fb8eba6dc227967
6
+ metadata.gz: 14b9d546224ef26cac31729acc24af375242a7f721de39f439f518fbba283093f08b74cfa9c15eeedbc060695fe624fa3d4f737ff4c476324e3a61a123fa3ec6
7
+ data.tar.gz: 6e914b2b1ac608b4ac50f9739fed70fbe4e85995d37c40041ddef490439a5dce640d437012896b6cfbb87d6e894469b4f9308f11b75da3056a1bbc7a097cf7fa
@@ -2,6 +2,10 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ### v0.4.0
6
+
7
+ * Use Stylelint instead of SCSS Lint.
8
+
5
9
  ### v0.3.0
6
10
 
7
11
  * Add Hound configuration.
data/README.md CHANGED
@@ -37,9 +37,9 @@ tslint:
37
37
  ruby:
38
38
  enabled: true
39
39
  config_file: style/config/.rubocop.yml
40
- scss:
40
+ stylelint:
41
41
  enabled: true
42
- config_file: style/config/.scss-lint.yml
42
+ config_file: style/config/.stylelintrc.json
43
43
  ```
44
44
 
45
45
  And running...
@@ -53,7 +53,7 @@ You will get in your `$HOME` path the following files:
53
53
  ```
54
54
  .eslintrc.json
55
55
  .rubocop.yml
56
- .scss-lint.yml
56
+ .stylelintrc.json
57
57
  ```
58
58
 
59
59
  Also, you can pass a linter's name to update rules for specific languages.
@@ -13,7 +13,7 @@ require "hound/config/base"
13
13
  require "hound/config/ruby"
14
14
  require "hound/config/eslint"
15
15
  require "hound/config/tslint"
16
- require "hound/config/scss"
16
+ require "hound/config/stylelint"
17
17
 
18
18
  module Hound
19
19
  end
@@ -1,8 +1,8 @@
1
1
  module Hound
2
2
  module Config
3
- class Scss < Base
3
+ class Stylelint < Base
4
4
  def initialize
5
- @linters_file_name = ".scss-lint.yml"
5
+ @linters_file_name = ".stylelintrc.json"
6
6
  end
7
7
  end
8
8
  end
@@ -2,7 +2,7 @@ module Hound
2
2
  module ConfigCollection
3
3
  extend self
4
4
 
5
- LINTER_NAMES = %w{ruby eslint tslint scss}
5
+ LINTER_NAMES = %w{ruby eslint tslint stylelint}
6
6
 
7
7
  def config_instances(linter_names = [])
8
8
  linter_names = LINTER_NAMES if linter_names.empty?
@@ -1,3 +1,3 @@
1
1
  module Hound
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hound-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platanus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-26 00:00:00.000000000 Z
11
+ date: 2019-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: rest-client
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '1.8'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 1.8.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.8'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '1.8'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 1.8.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.8'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: commander
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '4.4'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 4.4.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '4.4'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '4.4'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 4.4.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '4.4'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: bundler
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -169,7 +169,7 @@ files:
169
169
  - lib/hound/config/base.rb
170
170
  - lib/hound/config/eslint.rb
171
171
  - lib/hound/config/ruby.rb
172
- - lib/hound/config/scss.rb
172
+ - lib/hound/config/stylelint.rb
173
173
  - lib/hound/config/tslint.rb
174
174
  - lib/hound/config_collection.rb
175
175
  - lib/hound/errors.rb
@@ -196,8 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
- rubyforge_project:
200
- rubygems_version: 2.4.5
199
+ rubygems_version: 3.0.2
201
200
  signing_key:
202
201
  specification_version: 4
203
202
  summary: Ruby CLI to generate style rules