@punkfairie/stylelint-config 1.0.2 → 1.0.4

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.
package/.envrc ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env bash
2
+
3
+ if ! has nix_direnv_version || ! nix_direnv_version 3.1.0; then
4
+ source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.1.0/direnvrc" "sha256-yMJ2OVMzrFaDPn7q8nCBZFRYpL/f0RcHzhmw/i6btJM="
5
+ fi
6
+
7
+ export DEVENV_IN_DIRENV_SHELL=true
8
+
9
+ watch_file flake.nix
10
+ watch_file flake.lock
11
+
12
+ mkdir -p "$PWD/.devenv"
13
+ if ! use flake . --no-pure-eval; then
14
+ echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
15
+ fi
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # stylelint-config
2
+ My personal stylelint configs
package/flake.lock ADDED
@@ -0,0 +1,258 @@
1
+ {
2
+ "nodes": {
3
+ "cachix": {
4
+ "inputs": {
5
+ "devenv": [
6
+ "devenv"
7
+ ],
8
+ "flake-compat": [
9
+ "devenv"
10
+ ],
11
+ "git-hooks": [
12
+ "devenv",
13
+ "git-hooks"
14
+ ],
15
+ "nixpkgs": [
16
+ "devenv",
17
+ "nixpkgs"
18
+ ]
19
+ },
20
+ "locked": {
21
+ "lastModified": 1752264895,
22
+ "narHash": "sha256-1zBPE/PNAkPNUsOWFET4J0cjlvziH8DOekesDmjND+w=",
23
+ "owner": "cachix",
24
+ "repo": "cachix",
25
+ "rev": "47053aef762f452e816e44eb9a23fbc3827b241a",
26
+ "type": "github"
27
+ },
28
+ "original": {
29
+ "owner": "cachix",
30
+ "ref": "latest",
31
+ "repo": "cachix",
32
+ "type": "github"
33
+ }
34
+ },
35
+ "devenv": {
36
+ "inputs": {
37
+ "cachix": "cachix",
38
+ "flake-compat": "flake-compat",
39
+ "flake-parts": "flake-parts",
40
+ "git-hooks": "git-hooks",
41
+ "nix": "nix",
42
+ "nixpkgs": "nixpkgs"
43
+ },
44
+ "locked": {
45
+ "lastModified": 1758469077,
46
+ "narHash": "sha256-ayAg/65U0PytoxCJxuB2ghziaFur94tDBomFu/WLkGc=",
47
+ "owner": "cachix",
48
+ "repo": "devenv",
49
+ "rev": "0a84e6e5cd0ab128a9336f77a86a2d3f4a5b5dee",
50
+ "type": "github"
51
+ },
52
+ "original": {
53
+ "owner": "cachix",
54
+ "repo": "devenv",
55
+ "type": "github"
56
+ }
57
+ },
58
+ "flake-compat": {
59
+ "flake": false,
60
+ "locked": {
61
+ "lastModified": 1747046372,
62
+ "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
63
+ "owner": "edolstra",
64
+ "repo": "flake-compat",
65
+ "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
66
+ "type": "github"
67
+ },
68
+ "original": {
69
+ "owner": "edolstra",
70
+ "repo": "flake-compat",
71
+ "type": "github"
72
+ }
73
+ },
74
+ "flake-parts": {
75
+ "inputs": {
76
+ "nixpkgs-lib": [
77
+ "devenv",
78
+ "nixpkgs"
79
+ ]
80
+ },
81
+ "locked": {
82
+ "lastModified": 1756770412,
83
+ "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
84
+ "owner": "hercules-ci",
85
+ "repo": "flake-parts",
86
+ "rev": "4524271976b625a4a605beefd893f270620fd751",
87
+ "type": "github"
88
+ },
89
+ "original": {
90
+ "owner": "hercules-ci",
91
+ "repo": "flake-parts",
92
+ "type": "github"
93
+ }
94
+ },
95
+ "flake-parts_2": {
96
+ "inputs": {
97
+ "nixpkgs-lib": "nixpkgs-lib"
98
+ },
99
+ "locked": {
100
+ "lastModified": 1756770412,
101
+ "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
102
+ "owner": "hercules-ci",
103
+ "repo": "flake-parts",
104
+ "rev": "4524271976b625a4a605beefd893f270620fd751",
105
+ "type": "github"
106
+ },
107
+ "original": {
108
+ "owner": "hercules-ci",
109
+ "repo": "flake-parts",
110
+ "type": "github"
111
+ }
112
+ },
113
+ "git-hooks": {
114
+ "inputs": {
115
+ "flake-compat": [
116
+ "devenv",
117
+ "flake-compat"
118
+ ],
119
+ "gitignore": "gitignore",
120
+ "nixpkgs": [
121
+ "devenv",
122
+ "nixpkgs"
123
+ ]
124
+ },
125
+ "locked": {
126
+ "lastModified": 1758108966,
127
+ "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=",
128
+ "owner": "cachix",
129
+ "repo": "git-hooks.nix",
130
+ "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b",
131
+ "type": "github"
132
+ },
133
+ "original": {
134
+ "owner": "cachix",
135
+ "repo": "git-hooks.nix",
136
+ "type": "github"
137
+ }
138
+ },
139
+ "gitignore": {
140
+ "inputs": {
141
+ "nixpkgs": [
142
+ "devenv",
143
+ "git-hooks",
144
+ "nixpkgs"
145
+ ]
146
+ },
147
+ "locked": {
148
+ "lastModified": 1709087332,
149
+ "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
150
+ "owner": "hercules-ci",
151
+ "repo": "gitignore.nix",
152
+ "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
153
+ "type": "github"
154
+ },
155
+ "original": {
156
+ "owner": "hercules-ci",
157
+ "repo": "gitignore.nix",
158
+ "type": "github"
159
+ }
160
+ },
161
+ "nix": {
162
+ "inputs": {
163
+ "flake-compat": [
164
+ "devenv",
165
+ "flake-compat"
166
+ ],
167
+ "flake-parts": [
168
+ "devenv",
169
+ "flake-parts"
170
+ ],
171
+ "git-hooks-nix": [
172
+ "devenv",
173
+ "git-hooks"
174
+ ],
175
+ "nixpkgs": [
176
+ "devenv",
177
+ "nixpkgs"
178
+ ],
179
+ "nixpkgs-23-11": [
180
+ "devenv"
181
+ ],
182
+ "nixpkgs-regression": [
183
+ "devenv"
184
+ ]
185
+ },
186
+ "locked": {
187
+ "lastModified": 1755029779,
188
+ "narHash": "sha256-3+GHIYGg4U9XKUN4rg473frIVNn8YD06bjwxKS1IPrU=",
189
+ "owner": "cachix",
190
+ "repo": "nix",
191
+ "rev": "b0972b0eee6726081d10b1199f54de6d2917f861",
192
+ "type": "github"
193
+ },
194
+ "original": {
195
+ "owner": "cachix",
196
+ "ref": "devenv-2.30.4",
197
+ "repo": "nix",
198
+ "type": "github"
199
+ }
200
+ },
201
+ "nixpkgs": {
202
+ "locked": {
203
+ "lastModified": 1755783167,
204
+ "narHash": "sha256-gj7qvMNz7YvhjYxNq4I370cAYIZEw2PbVs5BSwaLrD4=",
205
+ "owner": "cachix",
206
+ "repo": "devenv-nixpkgs",
207
+ "rev": "4a880fb247d24fbca57269af672e8f78935b0328",
208
+ "type": "github"
209
+ },
210
+ "original": {
211
+ "owner": "cachix",
212
+ "ref": "rolling",
213
+ "repo": "devenv-nixpkgs",
214
+ "type": "github"
215
+ }
216
+ },
217
+ "nixpkgs-lib": {
218
+ "locked": {
219
+ "lastModified": 1754788789,
220
+ "narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=",
221
+ "owner": "nix-community",
222
+ "repo": "nixpkgs.lib",
223
+ "rev": "a73b9c743612e4244d865a2fdee11865283c04e6",
224
+ "type": "github"
225
+ },
226
+ "original": {
227
+ "owner": "nix-community",
228
+ "repo": "nixpkgs.lib",
229
+ "type": "github"
230
+ }
231
+ },
232
+ "nixpkgs_2": {
233
+ "locked": {
234
+ "lastModified": 1755783167,
235
+ "narHash": "sha256-gj7qvMNz7YvhjYxNq4I370cAYIZEw2PbVs5BSwaLrD4=",
236
+ "owner": "cachix",
237
+ "repo": "devenv-nixpkgs",
238
+ "rev": "4a880fb247d24fbca57269af672e8f78935b0328",
239
+ "type": "github"
240
+ },
241
+ "original": {
242
+ "owner": "cachix",
243
+ "ref": "rolling",
244
+ "repo": "devenv-nixpkgs",
245
+ "type": "github"
246
+ }
247
+ },
248
+ "root": {
249
+ "inputs": {
250
+ "devenv": "devenv",
251
+ "flake-parts": "flake-parts_2",
252
+ "nixpkgs": "nixpkgs_2"
253
+ }
254
+ }
255
+ },
256
+ "root": "root",
257
+ "version": 7
258
+ }
package/flake.nix ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ description = "My personal stylelint config";
3
+
4
+ inputs = {
5
+ flake-parts.url = "github:hercules-ci/flake-parts";
6
+ nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
7
+ devenv.url = "github:cachix/devenv";
8
+ };
9
+
10
+ nixConfig = {
11
+ extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
12
+ extra-substituters = "https://devenv.cachix.org";
13
+ };
14
+
15
+ outputs = inputs @ {flake-parts, ...}:
16
+ flake-parts.lib.mkFlake {inherit inputs;} {
17
+ imports = [
18
+ inputs.devenv.flakeModule
19
+ ];
20
+ systems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
21
+
22
+ perSystem = {pkgs, ...}: {
23
+ devenv.shells.default = {
24
+ name = "stylelint-config";
25
+
26
+ packages = [];
27
+
28
+ languages.javascript = {
29
+ enable = true;
30
+
31
+ npm = {
32
+ enable = true;
33
+ install.enable = true;
34
+ };
35
+ };
36
+ };
37
+ };
38
+ };
39
+ }
package/package.json CHANGED
@@ -1,21 +1,28 @@
1
1
  {
2
2
  "name": "@punkfairie/stylelint-config",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "My personal stylelint config",
5
5
  "main": "index.js",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/punkfairie/stylelint-config.git"
8
+ "url": "git+https://codewith.babesonthe.net/punkfairie/stylelint-config.git"
9
9
  },
10
10
  "keywords": [
11
- "stylelint"
11
+ "stylelint",
12
+ "scss"
12
13
  ],
13
- "author": "Marley Rae",
14
+ "author": {
15
+ "name": "Marley Rae",
16
+ "url": "https://punkfairie.net"
17
+ },
14
18
  "license": "ISC",
15
19
  "bugs": {
16
- "url": "https://github.com/punkfairie/stylelint-config/issues"
20
+ "url": "https://codewith.babesonthe.net/punkfairie/stylelint-config/issues"
21
+ },
22
+ "homepage": "https://codewith.babesonthe.net/punkfairie/stylelint-config#readme",
23
+ "scripts": {
24
+ "publish": "npm publish --access public"
17
25
  },
18
- "homepage": "https://github.com/punkfairie/stylelint-config#readme",
19
26
  "dependencies": {
20
27
  "@ronilaukkarinen/stylelint-a11y": "^1.2.7",
21
28
  "stylelint": "^15.9.0",
@@ -1,10 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="SpellCheckingInspection" enabled="true" level="TYPO" enabled_by_default="true">
5
- <option name="processCode" value="false" />
6
- <option name="processLiterals" value="true" />
7
- <option name="processComments" value="true" />
8
- </inspection_tool>
9
- </profile>
10
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptLibraryMappings">
4
- <includedPredefinedLibrary name="Node.js Core" />
5
- </component>
6
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/stylelint-config.iml" filepath="$PROJECT_DIR$/.idea/stylelint-config.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
- <excludeFolder url="file://$MODULE_DIR$/temp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>