rails-quality-assurance 1.1.1 → 1.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7653afd3018ca739608c627d698fe3cb4a902fbc6002d7f98f844927e9eddbf4
4
- data.tar.gz: 5fdc1956489ee711083b97c7b02558dcadf8b2960618c74ddd27f7da690b4ead
3
+ metadata.gz: 4079fda37b426ec6f29246881c51ff3b6d96559b010f96b54f67ff16192a35a6
4
+ data.tar.gz: 4c26a32dca327a58a24e49f4c9363fc9f6672cad630978118c0fe93809abf525
5
5
  SHA512:
6
- metadata.gz: 5bd69788750a3120f878e54e4de60cf7e773e904e068d4dab9b6c2476b0edde32ffc9ac7ebc14f7cd1318b12552c704af808f4871930d8e7e7cbd53f3e24f05b
7
- data.tar.gz: 2c929baad097231cde94752cae68da719bbc57a6a4ca77d9269a721f832ba7d6f4ea38b27b4f2c6f0663bdcbc5ee179f6c72e6608356aae6d5284e232d4c9af7
6
+ metadata.gz: c572283e10db70342ed3bd5b09188f5ab9bca00ae6dfc246cd99aaabf68ffa46497639d90f4f96fd4cdbadaafbce2b83776b22e83c70509b9f0266c49b155704
7
+ data.tar.gz: 1553402a693b9befa6c02a03011a2abbcd8163eae1a7ec4c8105f9ce5bdb1c83af42983592cb9da666a0b40a00702c790f8833d8d77787ca822843f7b9d704d6
data/README.md CHANGED
@@ -11,8 +11,8 @@ Opinionated quality assurance kit for Ruby on Rails applications.
11
11
  - **RuboCop**: Pre-configured `rubocop.yml` targeting Ruby 4.0 with all standard plugins loaded (`rubocop-rails`, `rubocop-rspec`, `rubocop-rspec_rails`, `rubocop-performance`, `rubocop-capybara`, `rubocop-factory_bot`, `rubocop-rubycw`, `rubocop-migration`).
12
12
  - **Reek**: Code smell detection with sensible Rails defaults (`config/reek.yml`).
13
13
  - **Flay**: Structural code duplication analysis.
14
- - **Biome**: Pre-configured `config/biome.json` for fast JavaScript/TypeScript/JSON linting and formatting.
15
- - **Stylelint**: Pre-configured `config/.stylelintrc.json` with Tailwind CSS support.
14
+ - **Biome**: Pre-configured `config/biome-default.json` for fast JavaScript/TypeScript/JSON linting and formatting.
15
+ - **Stylelint**: Pre-configured `config/stylelint-default.json` with Tailwind CSS support.
16
16
 
17
17
  ### 2. Security
18
18
 
@@ -0,0 +1,47 @@
1
+ {
2
+ "extends": [
3
+ "stylelint-config-standard",
4
+ "stylelint-config-tailwindcss"
5
+ ],
6
+ "rules": {
7
+ "at-rule-no-unknown": [
8
+ true,
9
+ {
10
+ "ignoreAtRules": [
11
+ "tailwindcss",
12
+ "apply",
13
+ "variants",
14
+ "responsive",
15
+ "screen",
16
+ "layer",
17
+ "variant",
18
+ "import",
19
+ "source",
20
+ "theme",
21
+ "custom-variant",
22
+ "plugin"
23
+ ]
24
+ }
25
+ ],
26
+ "function-no-unknown": [
27
+ true,
28
+ {
29
+ "ignoreFunctions": [
30
+ "theme",
31
+ "screen",
32
+ "font-url"
33
+ ]
34
+ }
35
+ ],
36
+ "at-rule-descriptor-value-no-unknown": null,
37
+ "no-descending-specificity": null,
38
+ "no-invalid-position-at-import-rule": null,
39
+ "selector-class-pattern": null,
40
+ "custom-property-pattern": null,
41
+ "font-family-name-quotes": null,
42
+ "property-no-deprecated": null,
43
+ "import-notation": "string",
44
+ "alpha-value-notation": "number",
45
+ "color-function-notation": "modern"
46
+ }
47
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsQualityAssurance
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
@@ -19,11 +19,11 @@ module RailsQualityAssurance
19
19
  end
20
20
 
21
21
  def self.biome_config_path
22
- File.join(root, 'config/biome.json')
22
+ File.join(root, 'config/biome-default.json')
23
23
  end
24
24
 
25
25
  def self.stylelint_config_path
26
- File.join(root, 'config/.stylelintrc.json')
26
+ File.join(root, 'config/stylelint-default.json')
27
27
  end
28
28
  end
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-quality-assurance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauricio Zaffari
@@ -342,8 +342,9 @@ files:
342
342
  - CHANGELOG.md
343
343
  - LICENSE.txt
344
344
  - README.md
345
- - config/biome.json
345
+ - config/biome-default.json
346
346
  - config/reek.yml
347
+ - config/stylelint-default.json
347
348
  - lib/generators/rails_quality_assurance/ci/ci_generator.rb
348
349
  - lib/generators/rails_quality_assurance/ci/templates/bin_ci.erb
349
350
  - lib/generators/rails_quality_assurance/ci/templates/config_ci.rb.erb
File without changes