Skip to content

Commit

Permalink
TW29597330 Update stylelint and readme (#55)
Browse files Browse the repository at this point in the history
Update stylelint and readme
  • Loading branch information
dsanti82 authored Aug 26, 2024
1 parent 557f3a0 commit 08abeac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ Since this is a wrapper for Webpack, if you are already using Webpack or similar

## How Kanopi Pack?

Kanopi Pack is installed via NPM anywhere in your project structure.
Kanopi Pack is installed via NPM anywhere in your project structure.

### Installation
### Installation

```
npm i @kanopi/pack
Expand All @@ -59,20 +59,20 @@ Configuration is implemented via the Main Configuration File, with Preferred loc

### Dependency Limitations

| Package | Version | Notes |
| Package | Version | Notes |
|:-------------------------|:--------|:-----------------------------------------------------------------------------------------------------------------------|
| Chalk | 4.x | Chalk v5.x uses ESM which is not compatible with the rest of the Node modules used here, it is locked at v4.x for now. |
| Commander | 11.x | There are some API changes which require further evaluation outside of a standard update. |
| StyleLint | 15.x | Other Stylelint packages are restricted to 15.x maximum currently, will reevaluate in future cycles. |
| StyleLint | 15.x | Other Stylelint packages are restricted to 15.x maximum currently, will reevaluate in future cycles. |
| StyleLint Webpack Plugin | 4.x | StyleLint 16.x and Node 18.x support, keeping back due to StyleLint version limitations |
| Webpack Dev Server | 4.x | Dev Server API changes with version 5.x, requires evaluation outside of a standard maintenance cycle. |


### Platform Software Requirements

| Package | Minimum | Recommended |
| Package | Minimum | Recommended |
|:--------|:--------|:------------|
| Node | 18.x | 20.x |
| Node | 22.x | 22.x |
| NPM | 9.x | 10.x |

### Dependent Packages
Expand Down
18 changes: 0 additions & 18 deletions configuration/tools/stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,18 @@ module.exports = {
"at-rule-no-unknown": null,
"at-rule-no-vendor-prefix": true,
"block-no-empty": true,
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "long",
"color-named": ["never", { ignore: "inside-function" }],
"color-no-invalid-hex": true,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-semicolon-newline-after": "always",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"declaration-property-value-disallowed-list": {
"border": ["none"],
"border-top": ["none"],
"border-right": ["none"],
"border-bottom": ["none"],
"border-left": ["none"]
},
"function-comma-space-after": "always-single-line",
"function-parentheses-space-inside": "never",
"function-url-quotes": "always",
"indentation": "tab",
"length-zero-no-unit": true,
"max-nesting-depth": [
10,
Expand All @@ -43,10 +31,6 @@ module.exports = {
}
],
"media-feature-name-no-vendor-prefix": true,
"media-feature-parentheses-space-inside": "never",
"no-missing-end-of-source-newline": true,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"property-no-unknown": true,
"property-no-vendor-prefix": null,
"rule-empty-line-before": [
Expand All @@ -63,15 +47,13 @@ module.exports = {
"Selector should be written in lowercase with hyphens and/or underscores (selector-class-pattern)"
}
],
"selector-list-comma-newline-after": "always",
"selector-max-compound-selectors": 10,
"selector-max-id": 1,
"selector-no-qualifying-type": null,
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": null,
"shorthand-property-no-redundant-values": true,
"string-quotes": "single",
"value-no-vendor-prefix": true
}
};

0 comments on commit 08abeac

Please sign in to comment.