stylelint-config-sweet 1.0.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.
Files changed (2) hide show
  1. package/package.json +47 -0
  2. package/readme.md +32 -0
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "stylelint-config-sweet",
3
+ "version": "1.0.0",
4
+ "description": "Stylelint extendable config for the most sweet-ass CSS and Sass. 🤙🏼",
5
+ "main": "./stylelint.config.cjs",
6
+ "repository": "https://github.com/robinloeffel/stylelint-config-sweet.git",
7
+ "homepage": "https://github.com/robinloeffel/stylelint-config-sweet",
8
+ "bugs": "https://github.com/robinloeffel/stylelint-config-sweet/issues",
9
+ "author": "Robin Löffel (https://robinloeffel.ch) <hi@robinloeffel.ch>",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "stylelint",
13
+ "stylelint-config"
14
+ ],
15
+ "files": [
16
+ "rules",
17
+ "config"
18
+ ],
19
+ "dependencies": {
20
+ "@isnotdefined/stylelint-plugin": "^4.0.0",
21
+ "@stylistic/stylelint-config": "^1.0.1",
22
+ "stylelint-config-html": "^1.1.0",
23
+ "stylelint-config-recess-order": "^4.4.0",
24
+ "stylelint-config-standard-scss": "^13.0.0"
25
+ },
26
+ "devDependencies": {
27
+ "@commitlint/cli": "^18.6.0",
28
+ "@commitlint/config-conventional": "^18.6.0",
29
+ "@commitlint/types": "^18.6.0",
30
+ "@types/eslint": "^8.56.2",
31
+ "@types/lint-staged": "^13.3.0",
32
+ "eslint": "^8.56.0",
33
+ "eslint-config-sweet": "^18.0.0",
34
+ "husky": "^9.0.6",
35
+ "lint-staged": "^15.2.0",
36
+ "stylelint": "^16.2.0",
37
+ "typescript": "^5.3.3",
38
+ "vitest": "^1.2.2"
39
+ },
40
+ "peerDependencies": {
41
+ "stylelint": "^16"
42
+ },
43
+ "scripts": {
44
+ "start": "vitest",
45
+ "postinstall": "husky"
46
+ }
47
+ }
package/readme.md ADDED
@@ -0,0 +1,32 @@
1
+ # stylelint-config-sweet
2
+
3
+ [![latest version on npm](https://img.shields.io/npm/v/stylelint-config-sweet)](https://www.npmjs.com/package/stylelint-config-sweet)
4
+ [![npm downloads a month](https://img.shields.io/npm/dm/stylelint-config-sweet)](https://www.npmjs.com/package/stylelint-config-sweet)
5
+ [![stylelint peer dependency](https://img.shields.io/npm/dependency-version/stylelint-config-sweet/peer/stylelint?label=stylelint%20peer%20dep)](https://github.com/stylelint/stylelint)
6
+ [![package license](https://img.shields.io/npm/l/stylelint-config-sweet)](license)
7
+
8
+ > Stylelint [extendable config](https://stylelint.io/user-guide/configure/#extends) for the most sweet-ass CSS and Sass. 🤙🏼
9
+
10
+ ## Installation
11
+
12
+ ```sh
13
+ npm i stylelint-config-sweet -D
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ As soon as you've installed the package, you can extend from it. To do that, find your [config file](https://stylelint.io/user-guide/configure/), and add the following line:
19
+
20
+ ```js
21
+ module.exports = {
22
+ extends: "sweet"
23
+ };
24
+ ```
25
+
26
+ ## How will my code look when using this?
27
+
28
+ Sweet, man. That's the point. On a more serious note though: It mostly, of course, enforces consistency, even though it may not look like it the first few moments. It will make your code feel more lightweight and nudge you towards using more modern APIs and good practices, while maintaining readability and keeping complexity down.
29
+
30
+ ## License
31
+
32
+ MIT