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 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
- Add `"justintime50-styles": "^0.1.0"` to `devDependencies` in `package.json`.
16
+ ```bash
17
+ npm install --save-dev justintime50-styles
18
+ ```
17
19
 
18
20
  ### Composer Install
19
21
 
20
- Add `"justintime50/styles": "^0.1.0"` to `require-dev` in `composer.json`.
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.1.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.2.0",
4
+ "version": "0.4.0",
5
5
  "author": "Justintime50",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/justintime50/styles",
@@ -1,3 +1,6 @@
1
1
  {
2
- "extends": "stylelint-config-standard"
2
+ "extends": "stylelint-config-standard",
3
+ "rules": {
4
+ "import-notation": "string"
5
+ }
3
6
  }
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" />