justintime50-styles 0.4.0 → 0.5.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.
@@ -6,13 +6,9 @@ jobs:
6
6
  lint:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - name: Checkout Repository
10
- uses: actions/checkout@v3
11
- - name: Setup Node
12
- uses: actions/setup-node@v3
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-node@v3
13
11
  with:
14
- node-version: '18'
15
- - name: Install dependencies
16
- run: npm install
17
- - name: Run lint
18
- run: npm run format-check
12
+ node-version: '20'
13
+ - run: npm install
14
+ - run: npm run format-check
@@ -9,16 +9,12 @@ jobs:
9
9
  release:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
- - name: Checkout Repository
13
- uses: actions/checkout@v3
14
- - name: Setup Node
15
- uses: actions/setup-node@v3
12
+ - uses: actions/checkout@v3
13
+ - uses: actions/setup-node@v3
16
14
  with:
17
- node-version: '18'
15
+ node-version: '20'
18
16
  registry-url: 'https://registry.npmjs.org'
19
- - name: Install dependencies
20
- run: npm install
21
- - name: Publish to NPM
22
- run: npm publish
17
+ - run: npm install
18
+ - run: npm publish
23
19
  env:
24
20
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.5.0 (2023-08-07)
4
+
5
+ Disables the `no-descending-specificity` rule of stylelint as I'm almost always using nested SASS which doesn't play nicely with this rule
6
+
3
7
  ## v0.4.0 (2023-04-27)
4
8
 
5
9
  - Enforces string convention for `import-notation` in `Stylelint`
package/README.md CHANGED
@@ -282,9 +282,10 @@ The following is a checklist of items that every website should have:
282
282
  - You can’t kill threads easily in Python, keep this in mind when playing with concurrency
283
283
  - Do not define raw paths, you must use the `os.path.join()` function as this will automatically build the paths for you depending on what OS you're on (eg: slashes on Windows)
284
284
  - Use `datetime.timedelta` to offset a date which will automatically roll over months and years as needed. Do not add `+6` to a date or year as you will run into an error such as a month not being able to contain 35 days
285
- - It's generally an anti-pattern to do something like the following. If a file got deleted between the check and it being removed, it will error.
286
285
  - "Mock an item where it is used, not where it came from."
287
286
 
287
+ It's generally an anti-pattern to do something like the following. If a file got deleted between the check and it being removed, it will error:
288
+
288
289
  ```python
289
290
  # Anti-pattern
290
291
  if os.path.isfile(file_path):
@@ -297,7 +298,7 @@ except FileNotFoundError:
297
298
  pass
298
299
  ```
299
300
 
300
- - Ensure that error assertions are unindented from a pytest context helper (bites me all the time):
301
+ Ensure that error assertions are unindented from a pytest context helper (bites me all the time):
301
302
 
302
303
  ```python
303
304
  # This will fail
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.0",
4
+ "version": "0.5.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.0",
4
+ "version": "0.5.0",
5
5
  "author": "Justintime50",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/justintime50/styles",
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "extends": "stylelint-config-standard",
3
3
  "rules": {
4
- "import-notation": "string"
4
+ "import-notation": "string",
5
+ "no-descending-specificity": null
5
6
  }
6
7
  }