Socket
Socket
Sign inDemoInstall

stylelint-config-standard

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-standard - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

21

CHANGELOG.md

@@ -0,20 +1,29 @@

# 4.0.0
- Removed: `stylelint < 4.5.0` compatibility.
- Added: `font-family-name-quotes` rule with `"double-where-recommended"` option.
- Added: `function-linear-gradient-no-nonstandard-direction` rule.
- Added: `media-feature-no-missing-punctuation` rule.
- Added: `no-invalid-double-slash-comments` rule.
- Added: `string-no-newline` rule.
# 3.0.0
* Changed: first-nested at-rules now behave the same as first-nested comments i.e. they can no longer be preceded by an empty line.
- Changed: first-nested at-rules now behave the same as first-nested comments i.e. they can no longer be preceded by an empty line.
# 2.0.0
* Changed: first-nested comments can no longer be preceded by an empty line.
* Fixed: `comment-empty-line-before` now ignores `stylelint` command comments.
- Changed: first-nested comments can no longer be preceded by an empty line.
- Fixed: `comment-empty-line-before` now ignores `stylelint` command comments.
# 1.0.0
* Fixed: more forgiving empty lines rules when comments are present i.e. the `rule-non-nested-empty-line-before` and `at-rule-empty-line-before` now make use of the `ignore: ["after-comment"]` option.
- Fixed: more forgiving empty lines rules when comments are present i.e. the `rule-non-nested-empty-line-before` and `at-rule-empty-line-before` now make use of the `ignore: ["after-comment"]` option.
# 0.2.0
* Added: `block-no-empty` rule.
- Added: `block-no-empty` rule.
# 0.1.0
* Initial release
- Initial release

@@ -24,2 +24,3 @@ module.exports = {

"declaration-bang-space-before": "always",
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-semicolon-newline-after": "always-multi-line",

@@ -29,5 +30,7 @@ "declaration-block-semicolon-space-after": "always-single-line",

"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"font-family-name-quotes": "double-where-recommended",
"function-calc-no-unspaced-operator": true,

@@ -37,6 +40,7 @@ "function-comma-newline-after": "always-multi-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-url-quotes": "double",
"function-whitespace-after": "always",
"function-url-quotes": "double",
"indentation": 2,

@@ -46,2 +50,3 @@ "max-empty-lines": 1,

"media-feature-colon-space-before": "never",
"media-feature-no-missing-punctuation": true,
"media-feature-range-operator-space-after": "always",

@@ -54,2 +59,3 @@ "media-feature-range-operator-space-before": "always",

"no-eol-whitespace": true,
"no-invalid-double-slash-comments": true,
"no-missing-eof-newline": true,

@@ -59,7 +65,5 @@ "number-leading-zero": "always",

"number-zero-length-no-unit": true,
"rule-no-shorthand-property-overrides": true,
"rule-non-nested-empty-line-before": [ "always-multi-line", {
ignore: ["after-comment"],
} ],
"rule-trailing-semicolon": "always",
"selector-combinator-space-after": "always",

@@ -70,2 +74,3 @@ "selector-combinator-space-before": "always",

"selector-pseudo-element-colon-notation": "double",
"string-no-newline": true,
"string-quotes": "double",

@@ -72,0 +77,0 @@ "value-list-comma-newline-after": "always-multi-line",

{
"name": "stylelint-config-standard",
"version": "3.0.0",
"version": "4.0.0",
"description": "Standard shareable config for stylelint",

@@ -21,7 +21,7 @@ "keywords": [

"devDependencies": {
"ava": "^0.11.0",
"eslint": "^1.10.3",
"eslint-config-stylelint": "^0.1.0",
"ava": "^0.12.0",
"eslint": "^2.2.0",
"eslint-config-stylelint": "^1.0.0",
"npmpub": "^3.0.1",
"stylelint": "^4.0.0"
"stylelint": "^4.5.0"
},

@@ -36,7 +36,11 @@ "scripts": {

"babel": {
"presets": ["es2015"]
"presets": [
"es2015"
]
},
"eslintConfig": {
"extends": ["stylelint"]
"extends": [
"stylelint"
]
}
}
# stylelint-config-standard
[![NPM version](http://img.shields.io/npm/v/stylelint-config-standard.svg)](https://www.npmjs.org/package/stylelint-config-standard) [![Travis Build Status](https://img.shields.io/travis/stylelint/stylelint-config-standard/master.svg?label=unix%20build)](https://travis-ci.org/stylelint/stylelint-config-standard) [![AppVeyor Build Status](https://img.shields.io/appveyor/ci/stylelint/stylelint-config-standard/master.svg?label=windows%20build)](https://ci.appveyor.com/project/stylelint/stylelint-config-standard)
[![NPM version](http://img.shields.io/npm/v/stylelint-config-standard.svg)](https://www.npmjs.org/package/stylelint-config-standard) [![Build Status](https://travis-ci.org/stylelint/stylelint-config-standard.svg?branch=master)](https://travis-ci.org/stylelint/stylelint-config-standard) [![Build status](https://ci.appveyor.com/api/projects/status/o8rfhyax6n7bjnlt/branch/master?svg=true)](https://ci.appveyor.com/project/stylelint/stylelint-config-standard/branch/master)
> The standard shareable config for stylelint.

@@ -87,3 +88,3 @@

_Note: the config is tested against this example, as such the example contains plenty of CSS syntax, formatting and features._
*Note: the config is tested against this example, as such the example contains plenty of CSS syntax, formatting and features.*

@@ -98,3 +99,3 @@ ## Installation

Set your stylelint config to:
If you've installed `stylelint-config-standard` locally within your project, just set your `stylelint` config to:

@@ -107,2 +108,10 @@ ```json

If you've globally installed `stylelint-config-standard` using the `-g` flag, then you'll need to use the absolute path to `stylelint-config-standard` in your config e.g.
```json
{
"extends": "/absolute/path/to/stylelint-config-standard"
}
```
### Extending the config

@@ -114,3 +123,2 @@

```json

@@ -117,0 +125,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