rubocop-tailwindcss 0.0.1 → 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 +4 -4
- data/LICENSE +21 -0
- data/README.md +100 -9
- data/config/default.yml +17 -0
- data/lib/rubocop/cop/tailwindcss/class_order.rb +118 -0
- data/lib/rubocop/tailwindcss/plugin.rb +30 -0
- data/lib/rubocop/tailwindcss/sorter.rb +142 -0
- data/lib/rubocop/tailwindcss/version.rb +7 -0
- data/lib/rubocop-tailwindcss.rb +6 -7
- data/vendor/tw-bundle.js +5675 -0
- metadata +57 -8
metadata
CHANGED
|
@@ -1,30 +1,80 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-tailwindcss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- am1006
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
-
dependencies:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: lint_roller
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '1.1'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '1.1'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: quickjs
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0.20'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0.20'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: rubocop
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '1.72'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '1.72'
|
|
54
|
+
description: 'Sorts Tailwind CSS classes in Ruby source - Phlex components and any
|
|
55
|
+
class: string keyword - using Tailwind''s own design system evaluated in an embedded
|
|
56
|
+
JS engine. No node, no subprocesses: the official prettier-plugin order, autocorrected
|
|
57
|
+
by rubocop -a.'
|
|
16
58
|
executables: []
|
|
17
59
|
extensions: []
|
|
18
60
|
extra_rdoc_files: []
|
|
19
61
|
files:
|
|
62
|
+
- LICENSE
|
|
20
63
|
- README.md
|
|
64
|
+
- config/default.yml
|
|
21
65
|
- lib/rubocop-tailwindcss.rb
|
|
66
|
+
- lib/rubocop/cop/tailwindcss/class_order.rb
|
|
67
|
+
- lib/rubocop/tailwindcss/plugin.rb
|
|
68
|
+
- lib/rubocop/tailwindcss/sorter.rb
|
|
69
|
+
- lib/rubocop/tailwindcss/version.rb
|
|
70
|
+
- vendor/tw-bundle.js
|
|
22
71
|
homepage: https://github.com/am1006/tailwindcss-sorter
|
|
23
72
|
licenses:
|
|
24
73
|
- MIT
|
|
25
74
|
metadata:
|
|
26
75
|
homepage_uri: https://github.com/am1006/tailwindcss-sorter
|
|
27
76
|
source_code_uri: https://github.com/am1006/tailwindcss-sorter
|
|
77
|
+
default_lint_roller_plugin: RuboCop::Tailwindcss::Plugin
|
|
28
78
|
rubygems_mfa_required: 'true'
|
|
29
79
|
rdoc_options: []
|
|
30
80
|
require_paths:
|
|
@@ -42,6 +92,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
42
92
|
requirements: []
|
|
43
93
|
rubygems_version: 4.0.3
|
|
44
94
|
specification_version: 4
|
|
45
|
-
summary: RuboCop
|
|
46
|
-
code
|
|
95
|
+
summary: RuboCop cop that keeps Tailwind CSS classes in the official order
|
|
47
96
|
test_files: []
|