justintime50-styles 0.2.0 → 0.4.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.
- package/CHANGELOG.md +8 -0
- package/README.md +6 -2
- package/composer.json +1 -1
- package/package.json +1 -1
- package/src/css/.stylelintrc.json +4 -1
- package/src/php/phpcs.xml +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v0.4.0 (2023-04-27)
|
|
4
|
+
|
|
5
|
+
- Enforces string convention for `import-notation` in `Stylelint`
|
|
6
|
+
|
|
7
|
+
## v0.3.0 (2023-04-05)
|
|
8
|
+
|
|
9
|
+
- Enforces a line-length of 120 characters for PHP projects
|
|
10
|
+
|
|
3
11
|
## v0.2.0 (2022-11-24)
|
|
4
12
|
|
|
5
13
|
- Removes the `env` target for ESLint because this will change on a per-project basis and should be configured via the CLI
|
package/README.md
CHANGED
|
@@ -13,11 +13,15 @@ You can find various configuration files for styling/formatting tools across var
|
|
|
13
13
|
|
|
14
14
|
### NPM Install
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
```bash
|
|
17
|
+
npm install --save-dev justintime50-styles
|
|
18
|
+
```
|
|
17
19
|
|
|
18
20
|
### Composer Install
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
```bash
|
|
23
|
+
composer require --dev justintime50/styles
|
|
24
|
+
```
|
|
21
25
|
|
|
22
26
|
## General
|
|
23
27
|
|
package/composer.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "justintime50/styles",
|
|
3
3
|
"description": "A collection of style guides and best practices used for my projects and teams.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "library",
|
|
7
7
|
"homepage": "https://github.com/Justintime50/styles",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "justintime50-styles",
|
|
3
3
|
"description": "A collection of style guides and best practices used for my projects and teams.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"author": "Justintime50",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/justintime50/styles",
|
package/src/php/phpcs.xml
CHANGED
|
@@ -25,6 +25,12 @@
|
|
|
25
25
|
<rule ref="PSR12" />
|
|
26
26
|
|
|
27
27
|
<!-- Enforce custom rules -->
|
|
28
|
+
<rule ref= "Generic.Files.LineLength">
|
|
29
|
+
<properties>
|
|
30
|
+
<property name="lineLimit" value="120"/>
|
|
31
|
+
<property name="absoluteLineLimit" value="120"/>
|
|
32
|
+
</properties>
|
|
33
|
+
</rule>
|
|
28
34
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
|
|
29
35
|
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps" />
|
|
30
36
|
<rule ref="Squiz.Strings.DoubleQuoteUsage.NotRequired" />
|