Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-config-suitcss

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-suitcss - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

10

CHANGELOG.md

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

# 2.0.0
* Removed: `stylelint < 3.0.0` compatibility.
* Changed: configuration syntax.
* Removed: `nesting-block-opening-brace-space-before` and `nesting-block-opening-brace-newline-before` rules.
* Changed: renamed `rule-single-line-max-declarations` to `declaration-block-single-line-max-declarations`.
* Changed: renamed the `function-space-after` rule to `function-whitespace-after`.
* Changed: renamed the `comment-space-inside` rule to `comment-whitespace-inside`.
* Changed: renamed the `no-multiple-empty-lines` rule to `max-empty-lines`.
# 1.0.0

@@ -2,0 +12,0 @@

136

index.js
module.exports = {
"rules": {
"at-rule-empty-line-before": [ 2, "always", {
"at-rule-empty-line-before": [ "always", {
except: ["blockless-group"],
} ],
"at-rule-no-vendor-prefix": 2,
"block-closing-brace-newline-after": [ 2, "always" ],
"block-closing-brace-newline-before": [ 2, "always-multi-line" ],
"block-closing-brace-space-before": [ 2, "always-single-line" ],
"block-no-empty": 2,
"block-opening-brace-newline-after": [ 2, "always-multi-line" ],
"block-opening-brace-space-after": [ 2, "always-single-line" ],
"block-opening-brace-space-before": [ 2, "always" ],
"color-hex-case": [ 2, "lower" ],
"color-hex-length": [ 2, "short" ],
"color-no-invalid-hex": 2,
"comment-empty-line-before": [ 2, "always" ],
"comment-space-inside": [ 2, "always" ],
"declaration-bang-space-after": [ 2, "never" ],
"declaration-bang-space-before": [ 2, "always" ],
"declaration-block-semicolon-newline-after": [ 2, "always-multi-line" ],
"declaration-block-semicolon-space-after": [ 2, "always-single-line" ],
"declaration-block-semicolon-space-before": [ 2, "never" ],
"declaration-colon-newline-after": [ 2, "always-multi-line" ],
"declaration-colon-space-after": [ 2, "always-single-line" ],
"declaration-colon-space-before": [ 2, "never" ],
"function-calc-no-unspaced-operator": 2,
"function-comma-newline-after": [ 2, "always-multi-line" ],
"function-comma-space-after": [ 2, "always-single-line" ],
"function-comma-space-before": [ 2, "never" ],
"function-linear-gradient-no-nonstandard-direction": 2,
"function-parentheses-newline-inside": [ 2, "always-multi-line" ],
"function-parentheses-space-inside": [ 2, "never-single-line" ],
"function-space-after": [ 2, "always" ],
"function-url-quotes": [ 2, "double" ],
"indentation": [ 2, 2 ],
"media-feature-colon-space-after": [ 2, "always" ],
"media-feature-colon-space-before": [ 2, "never" ],
"media-feature-name-no-vendor-prefix": 2,
"media-feature-range-operator-space-after": [ 2, "always" ],
"media-feature-range-operator-space-before": [ 2, "always" ],
"media-query-list-comma-newline-after": [ 2, "always-multi-line" ],
"media-query-list-comma-space-after": [ 2, "always-single-line" ],
"media-query-list-comma-space-before": [ 2, "never" ],
"media-query-parentheses-space-inside": [ 2, "never" ],
"nesting-block-opening-brace-newline-before": [ 2, "always-multi-line" ],
"nesting-block-opening-brace-space-before": [ 2, "always-single-line" ],
"no-eol-whitespace": 2,
"no-missing-eof-newline": 2,
"no-multiple-empty-lines": 2,
"number-leading-zero": [ 2, "always" ],
"number-no-trailing-zeros": 2,
"number-zero-length-no-unit": 2,
"property-no-vendor-prefix": 2,
"root-no-standard-properties": 2,
"rule-no-shorthand-property-overrides": 2,
"rule-nested-empty-line-before": [ 2, "always-multi-line", {
"at-rule-no-vendor-prefix": true,
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"function-calc-no-unspaced-operator": true,
"function-comma-newline-after": "always-multi-line",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-whitespace-after": "always",
"function-url-quotes": "double",
"indentation": 2,
"max-empty-lines": 1,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "always-multi-line",
"media-query-list-comma-space-after": "always-single-line",
"media-query-list-comma-space-before": "never",
"media-query-parentheses-space-inside": "never",
"no-eol-whitespace": true,
"no-missing-eof-newline": true,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"number-zero-length-no-unit": true,
"property-no-vendor-prefix": true,
"root-no-standard-properties": true,
"rule-no-shorthand-property-overrides": true,
"rule-nested-empty-line-before": [ "always-multi-line", {
except: ["first-nested"],
} ],
"rule-non-nested-empty-line-before": [ 2, "always-multi-line" ],
"rule-properties-order": [ 2, "alphabetical" ],
"rule-single-line-max-declarations": [ 2, 1 ],
"rule-trailing-semicolon": [ 2, "always" ],
"selector-combinator-space-after": [ 2, "always" ],
"selector-combinator-space-before": [ 2, "always" ],
"selector-list-comma-newline-after": [ 2, "always" ],
"selector-list-comma-space-before": [ 2, "never" ],
"selector-no-vendor-prefix": 2,
"selector-pseudo-element-colon-notation": [ 2, "double" ],
"selector-root-no-composition": 2,
"string-quotes": [ 2, "double" ],
"value-list-comma-newline-after": [ 2, "always-multi-line" ],
"value-list-comma-space-after": [ 2, "always-single-line" ],
"value-list-comma-space-before": [ 2, "never" ],
"value-no-vendor-prefix": 2,
"rule-non-nested-empty-line-before": "always-multi-line",
"rule-properties-order": "alphabetical",
"rule-trailing-semicolon": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-space-before": "never",
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "double",
"selector-root-no-composition": true,
"string-quotes": "double",
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
"value-no-vendor-prefix": true,
},
}
{
"name": "stylelint-config-suitcss",
"version": "1.0.0",
"version": "2.0.0",
"description": "SuitCSS shareable config for stylelint",
"keywords": [
"stylelint",
"stylelint-config"
"stylelint-config",
"suitcss"
],

@@ -20,8 +21,8 @@ "author": "Stylelint",

"devDependencies": {
"babel": "^6.0.15",
"babel-preset-es2015": "^6.1.2",
"babel": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
"babel-tape-runner": "^1.3.0",
"eslint": "^1.9.0",
"eslint": "^1.10.3",
"eslint-config-stylelint": "^0.1.0",
"stylelint": "^2.3.0",
"stylelint": "^3.0.2",
"tape": "^4.2.2"

@@ -36,3 +37,6 @@ },

"presets": ["es2015"]
},
"eslintConfig": {
"extends": ["stylelint"]
}
}
# stylelint-config-suitcss
[![NPM version](http://img.shields.io/npm/v/stylelint-config-suitcss.svg)](https://www.npmjs.org/package/stylelint-config-suitcss) [![Travis Build Status](https://img.shields.io/travis/stylelint/stylelint-config-suitcss/master.svg?label=unix%20build)](https://travis-ci.org/stylelint/stylelint-config-suitcss) [![AppVeyor Build Status](https://img.shields.io/appveyor/ci/jeddy3/stylelint-config-suitcss/master.svg?label=windows%20build)](https://ci.appveyor.com/project/jeddy3/stylelint-config-suitcss)
[![NPM version](http://img.shields.io/npm/v/stylelint-config-suitcss.svg)](https://www.npmjs.org/package/stylelint-config-suitcss) [![Travis Build Status](https://img.shields.io/travis/stylelint/stylelint-config-suitcss/master.svg?label=unix%20build)](https://travis-ci.org/stylelint/stylelint-config-suitcss) [![AppVeyor Build Status](https://img.shields.io/appveyor/ci/stylelint/stylelint-config-suitcss/master.svg?label=windows%20build)](https://ci.appveyor.com/project/stylelint/stylelint-config-suitcss)
> SuitCSS shareable config for stylelint.
> SUIT CSS shareable config for stylelint.
Configuration rules to ensure your CSS code is compliant with [SuitCSS's code style](https://github.com/suitcss/suit/blob/master/doc/STYLE.md).
Configuration rules to ensure your CSS code is compliant with [SUIT CSS's code style](https://github.com/suitcss/suit/blob/master/doc/STYLE.md).

@@ -35,4 +35,4 @@ ## Installation

"rules": {
"indentation": [2, "tab"],
"number-leading-zero": 0
"indentation": "tab",
"number-leading-zero": null
}

@@ -39,0 +39,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc