🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@tylertech/stylelint-rules

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tylertech/stylelint-rules - npm Package Compare versions

Comparing version
4.3.4
to
5.0.0
+12
.stylelintrc.json
{
"extends": "./index.mjs",
"rules": {
"scss/at-mixin-argumentless-call-parentheses": null,
"scss/at-rule-conditional-no-parentheses": null,
"scss/no-global-function-names": null,
"scss/no-duplicate-mixins": null,
"at-rule-no-vendor-prefix": null,
"selector-type-no-unknown": null,
"color-function-notation": null
}
}
import postcssScss from "postcss-scss";
export default {
extends: "stylelint-config-standard-scss",
customSyntax: postcssScss,
plugins: ["stylelint-scss"],
rules: {
"alpha-value-notation": null,
"at-rule-empty-line-before": null,
"at-rule-no-unknown": null,
"color-hex-length": null,
"color-no-invalid-hex": true,
"comment-no-empty": null,
"custom-property-empty-line-before": null,
"declaration-block-no-duplicate-properties": [true, {
"ignore": ["consecutive-duplicates-with-different-values"]
}],
"declaration-block-no-redundant-longhand-properties": null,
"declaration-block-no-shorthand-property-overrides": null,
"declaration-block-single-line-max-declarations": 1,
"declaration-empty-line-before": null,
"font-family-name-quotes": null,
"font-family-no-missing-generic-family-keyword": null,
"function-calc-no-unspaced-operator": true,
"function-name-case": "lower",
"function-no-unknown": null,
"function-url-quotes": "always",
"length-zero-no-unit": null,
"media-feature-range-notation": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"number-max-precision": null,
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": null,
"selector-class-pattern": null,
"selector-max-id": null,
"selector-not-notation": null,
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": [true, {
"ignorePseudoElements": ["/part/", "part"]
}],
"selector-type-case": "lower",
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"selector-type-case": "lower",
"selector-max-id": null,
"value-keyword-case": null,
"scss/at-function-pattern": null,
"scss/at-if-no-null": null,
"scss/at-mixin-pattern": null,
"scss/comment-no-empty": null,
"scss/dollar-variable-empty-line-before": null,
"scss/dollar-variable-pattern": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/operator-no-newline-after": null
}
};
+16
-9
{
"name": "@tylertech/stylelint-rules",
"version": "4.3.4",
"version": "5.0.0",
"description": "Common stylelint rules for Tyler Technologies.",

@@ -11,22 +11,29 @@ "author": "Tyler Technologies, Inc.",

},
"main": "index.js",
"exports": "./index.js",
"keywords": [
"stylelint"
],
"engines": {
"node": ">=18.12.0"
},
"scripts": {
"changelog": "auto changelog",
"release": "auto shipit"
},
"devDependencies": {
"@auto-it/npm": "^10.36.5",
"@auto-it/conventional-commits": "^10.36.5",
"auto": "^10.36.5"
"@auto-it/conventional-commits": "^11.1.6",
"@auto-it/npm": "^11.1.6",
"auto": "^11.1.6",
"postcss-scss": "^4.0.9",
"stylelint": "^16.4.0",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-scss": "^6.2.1"
},
"peerDependencies": {
"stylelint": "^14.0.0"
"stylelint": "^16.4.0"
},
"dependencies": {
"postcss-scss": "^4.0.3",
"stylelint-scss": "^4.2.0"
"postcss-scss": "^4.0.9",
"stylelint-scss": "^6.2.1",
"stylelint-config-standard-scss": "^13.1.0"
}
}

@@ -1,11 +0,11 @@

## Tyler Stylelint Rules
## Stylelint Rules
This repository contains default rules to provide to `stylelint` when compiling Sass files.
This repository contains default `stylelint` rules for Tyler Technologies, Inc. repositories.
## Usage
Install the latest package:
Install:
```bash
$ npm install -D $tylertech/stylelint-rules
$ npm install -D @tylertech/stylelint-rules
```

@@ -21,2 +21,2 @@

> Rules can be overridden as needed by specifying the rule and value as you would usually for stylelint.
> Rules can be overridden as needed by specifying the rule and value as you would usually for [stylelint](https://stylelint.io/).
# v4.3.3 (Thu Jun 23 2022)
#### 🐛 Bug Fix
- fix: remove `CHECKOUT_WITH_APP` input ([@DRiFTy17](https://github.com/DRiFTy17))
- fix: use updated release wf ([@DRiFTy17](https://github.com/DRiFTy17))
- fix: use updated secret ([@DRiFTy17](https://github.com/DRiFTy17))
- fix: use client id ([@DRiFTy17](https://github.com/DRiFTy17))
- fix: use app for checkout ([@DRiFTy17](https://github.com/DRiFTy17))
#### ⚠️ Pushed to `main`
- Merge branch 'main' of https://github.com/tyler-technologies-oss/stylelint-rules ([@DRiFTy17](https://github.com/DRiFTy17))
#### Authors: 1
- Kieran Nichols ([@DRiFTy17](https://github.com/DRiFTy17))
---
# v4.3.2 (Thu Jun 23 2022)
#### 🐛 Bug Fix
- fix: use `FORGE_GITHUB_ACCESS_TOKEN` secret for checkout ([@DRiFTy17](https://github.com/DRiFTy17))
#### ⚠️ Pushed to `main`
- Merge branch 'main' of https://github.com/tyler-technologies-oss/stylelint-rules ([@DRiFTy17](https://github.com/DRiFTy17))
#### Authors: 1
- Kieran Nichols ([@DRiFTy17](https://github.com/DRiFTy17))
---
# v4.3.1 (Thu Jun 23 2022)
#### 🐛 Bug Fix
- fix: use `CHECKOUT_TOKEN` secret with shared workflow ([@DRiFTy17](https://github.com/DRiFTy17))
#### ⚠️ Pushed to `main`
- Merge branch 'main' of https://github.com/tyler-technologies-oss/stylelint-rules ([@DRiFTy17](https://github.com/DRiFTy17))
#### Authors: 1
- Kieran Nichols ([@DRiFTy17](https://github.com/DRiFTy17))
---
# v4.1.0 (Thu Jun 23 2022)
#### 🚀 Enhancement
- feat: update release workflow permissions ([@DRiFTy17](https://github.com/DRiFTy17))
#### 🐛 Bug Fix
- fix: use latest release workflow ([@DRiFTy17](https://github.com/DRiFTy17))
- fix: use auto release token ([@DRiFTy17](https://github.com/DRiFTy17))
#### Authors: 1
- Kieran Nichols ([@DRiFTy17](https://github.com/DRiFTy17))
---
# v3.0.0 (Wed May 04 2022)
#### 💥 Breaking Change
- feat: upgrade to `stylelint` 14.x [#2](https://github.com/tyler-technologies/stylelint-rules/pull/2) ([@DRiFTy17](https://github.com/DRiFTy17))
#### 🐛 Bug Fix
- chore: automation workflows [#1](https://github.com/tyler-technologies/stylelint-rules/pull/1) ([@DRiFTy17](https://github.com/DRiFTy17))
#### ⚠️ Pushed to `main`
- chore: adding CODEOWNERS ([@DRiFTy17](https://github.com/DRiFTy17))
- chore: artifactory ([@DRiFTy17](https://github.com/DRiFTy17))
#### Authors: 1
- Kieran Nichols ([@DRiFTy17](https://github.com/DRiFTy17))
---
# [2.0.0](https://bitbucket.tylertech.com/scm/twc/stylelint-rules/compare/v1.0.0...v2.0.0) (2020-02-19)
### Features
* Updated to the latest `stylelint` package dependency ([dd19f55](https://bitbucket.tylertech.com/scm/twc/stylelint-rules/commits/dd19f5519c76e97a25d4684d3518139df1cd2d64))
# [1.0.0](https://bitbucket.tylertech.com/scm/twc/stylelint-rules/compare/v0.1.1...v1.0.0) (2019-05-01)
### Features
* Added `fr` and `s` to unit-whitelist ([df7ddca](https://bitbucket.tylertech.com/scm/twc/stylelint-rules/commits/df7ddca))
'use-strict';
module.exports = {
customSyntax: require('postcss-scss'),
plugins: ['stylelint-scss'],
rules: {
'color-hex-case': 'lower',
'color-no-invalid-hex': true,
'function-calc-no-unspaced-operator': true,
'function-comma-space-after': 'always-single-line',
'function-comma-space-before': 'never',
'function-name-case': 'lower',
'function-url-quotes': 'always',
'function-whitespace-after': 'always',
'number-leading-zero': 'always',
'number-no-trailing-zeros': null,
'length-zero-no-unit': true,
'string-no-newline': true,
'string-quotes': 'single',
'unit-case': 'lower',
'unit-no-unknown': true,
'unit-allowed-list': ['px', '%', 'fr', 'deg', 's', 'ms', 'em', 'rem', 'vh', 'vw', 'vmin'],
'value-list-comma-space-after': 'always-single-line',
'value-list-comma-space-before': 'never',
'shorthand-property-no-redundant-values': true,
'property-case': 'lower',
'declaration-block-no-duplicate-properties': [ true, {
'ignore': ['consecutive-duplicates-with-different-values']
}],
'declaration-block-trailing-semicolon': 'always',
'declaration-block-single-line-max-declarations': 1,
'declaration-block-semicolon-space-before': 'never',
'declaration-block-semicolon-space-after': 'always-single-line',
'declaration-block-semicolon-newline-before': 'never-multi-line',
'declaration-block-semicolon-newline-after': 'always-multi-line',
'block-closing-brace-newline-after': null,
'block-closing-brace-newline-before': 'always-multi-line',
'block-opening-brace-newline-after': 'always-multi-line',
'block-opening-brace-space-before': 'always-multi-line',
'selector-attribute-brackets-space-inside': 'never',
'selector-attribute-operator-space-after': 'never',
'selector-attribute-operator-space-before': 'never',
'selector-combinator-space-after': 'always',
'selector-combinator-space-before': 'always',
'selector-pseudo-class-case': 'lower',
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-pseudo-element-case': 'lower',
'selector-pseudo-element-colon-notation': 'double',
'selector-pseudo-element-no-unknown': [true, { "ignorePseudoElements": ["/part/", "part"] }],
'selector-type-case': 'lower',
'selector-max-id': null
}
};