stylelint-config-standard
Advanced tools
Comparing version 15.0.0 to 15.0.1
@@ -0,1 +1,5 @@ | ||
# 15.0.1 | ||
- Fixed: URLs to stylelint rules within README. | ||
# 15.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -0,1 +1,3 @@ | ||
"use strict" | ||
module.exports = { | ||
@@ -2,0 +4,0 @@ "rules": { |
{ | ||
"name": "stylelint-config-standard", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "Standard shareable config for stylelint", | ||
@@ -21,5 +21,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"ava": "^0.17.0", | ||
"eslint": "^3.1.1", | ||
"eslint-config-stylelint": "^5.0.0", | ||
"eslint-config-stylelint": "^6.0.0", | ||
"jest": "^17.0.3", | ||
"npm-run-all": "^3.0.0", | ||
@@ -36,3 +36,2 @@ "npmpub": "^3.0.1", | ||
"scripts": { | ||
"ava": "ava --verbose \"__tests__/**/*.js\"", | ||
"lint:js": "eslint . --ignore-path .gitignore", | ||
@@ -43,9 +42,5 @@ "lint:md": "remark . --quiet --frail", | ||
"release": "npmpub", | ||
"test": "npm run ava" | ||
"test": "jest", | ||
"watch": "jest --watch" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"es2015" | ||
] | ||
}, | ||
"eslintConfig": { | ||
@@ -56,2 +51,6 @@ "extends": [ | ||
}, | ||
"jest": { | ||
"testEnvironment": "node", | ||
"verbose": true | ||
}, | ||
"remarkConfig": { | ||
@@ -58,0 +57,0 @@ "presets": [ |
114
README.md
@@ -15,2 +15,4 @@ # stylelint-config-standard | ||
To see the rules that this config uses, please read the [config itself](./index.js). | ||
## Example | ||
@@ -143,68 +145,68 @@ | ||
- Specify what quotes must be used using: | ||
- [`font-family-name-quotes`](https://github.com/stylelint/stylelint/blob/master/src/rules/font-family-name-quotes/README.md) | ||
- [`function-url-quotes`](https://github.com/stylelint/stylelint/blob/master/src/rules/function-url-quotes/README.md) | ||
- [`selector-attribute-quotes`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-attribute-quotes/README.md) | ||
- [`string-quotes`](https://github.com/stylelint/stylelint/blob/master/src/rules/string-quotes/README.md) | ||
- [`font-family-name-quotes`](https://github.com/stylelint/stylelint/blob/master/lib/rules/font-family-name-quotes/README.md) | ||
- [`function-url-quotes`](https://github.com/stylelint/stylelint/blob/master/lib/rules/function-url-quotes/README.md) | ||
- [`selector-attribute-quotes`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-attribute-quotes/README.md) | ||
- [`string-quotes`](https://github.com/stylelint/stylelint/blob/master/lib/rules/string-quotes/README.md) | ||
- Specify the order of properties using: | ||
- [`declaration-block-properties-order`](https://github.com/stylelint/stylelint/blob/master/src/rules/declaration-block-properties-order/README.md) | ||
- [`declaration-block-properties-order`](https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-block-properties-order/README.md) | ||
- If you use [`autoprefixer`](https://github.com/postcss/autoprefixer) you'll want to disallow vendor prefixes using: | ||
- [`at-rule-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/src/rules/at-rule-no-vendor-prefix/README.md) | ||
- [`media-feature-name-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/src/rules/media-feature-name-no-vendor-prefix/README.md) | ||
- [`property-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/src/rules/property-no-vendor-prefix/README.md) | ||
- [`selector-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-vendor-prefix/README.md) | ||
- [`value-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/src/rules/value-no-vendor-prefix/README.md) | ||
- [`at-rule-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/lib/rules/at-rule-no-vendor-prefix/README.md) | ||
- [`media-feature-name-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/lib/rules/media-feature-name-no-vendor-prefix/README.md) | ||
- [`property-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/lib/rules/property-no-vendor-prefix/README.md) | ||
- [`selector-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-vendor-prefix/README.md) | ||
- [`value-no-vendor-prefix`](https://github.com/stylelint/stylelint/blob/master/lib/rules/value-no-vendor-prefix/README.md) | ||
- Control specificity using: | ||
- [`max-nesting-depth`](https://github.com/stylelint/stylelint/blob/master/src/rules/max-nesting-depth/README.md) | ||
- [`selector-max-compound-selectors`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-max-compound-selectors/README.md) | ||
- [`selector-max-specificity`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-max-specificity/README.md) | ||
- [`max-nesting-depth`](https://github.com/stylelint/stylelint/blob/master/lib/rules/max-nesting-depth/README.md) | ||
- [`selector-max-compound-selectors`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-max-compound-selectors/README.md) | ||
- [`selector-max-specificity`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-max-specificity/README.md) | ||
- Specify acceptable selector types, units, properties, functions and words in comments using: | ||
- [`at-rule-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/at-rule-blacklist/README.md) | ||
- [`at-rule-no-unknown`](https://github.com/stylelint/stylelint/blob/master/src/rules/at-rule-no-unknown/README.md) | ||
- [`at-rule-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/at-rule-whitelist/README.md) | ||
- [`color-named`](https://github.com/stylelint/stylelint/blob/master/src/rules/color-named/README.md) | ||
- [`color-no-hex`](https://github.com/stylelint/stylelint/blob/master/src/rules/color-no-hex/README.md) | ||
- [`comment-word-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/comment-word-blacklist/README.md) | ||
- [`declaration-no-important`](https://github.com/stylelint/stylelint/blob/master/src/rules/declaration-no-important/README.md) | ||
- [`declaration-property-unit-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/declaration-property-unit-blacklist/README.md) | ||
- [`declaration-property-unit-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/declaration-property-unit-whitelist/README.md) | ||
- [`declaration-property-value-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/declaration-property-value-blacklist/README.md) | ||
- [`declaration-property-value-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/declaration-property-value-whitelist/README.md) | ||
- [`function-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/function-blacklist/README.md) | ||
- [`function-url-scheme-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/function-url-scheme-whitelist/README.md) | ||
- [`function-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/function-whitelist/README.md) | ||
- [`media-feature-name-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/media-feature-name-blacklist/README.md) | ||
- [`media-feature-name-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/media-feature-name-whitelist/README.md) | ||
- [`property-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/property-blacklist/README.md) | ||
- [`property-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/property-whitelist/README.md) | ||
- [`selector-attribute-operator-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-attribute-operator-blacklist/README.md) | ||
- [`selector-attribute-operator-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-attribute-operator-whitelist/README.md) | ||
- [`selector-no-attribute`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-attribute/README.md) | ||
- [`selector-no-combinator`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-combinator/README.md) | ||
- [`selector-no-id`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-id/README.md) | ||
- [`selector-no-qualifying-type`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-qualifying-type/README.md) | ||
- [`selector-no-type`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-type/README.md) | ||
- [`selector-no-universal`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-no-universal/README.md) | ||
- [`selector-pseudo-class-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-pseudo-class-blacklist/README.md) | ||
- [`selector-pseudo-class-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-pseudo-class-whitelist/README.md) | ||
- [`unit-blacklist`](https://github.com/stylelint/stylelint/blob/master/src/rules/property-blacklist/README.md) | ||
- [`unit-whitelist`](https://github.com/stylelint/stylelint/blob/master/src/rules/property-blacklist/README.md) | ||
- [`at-rule-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/at-rule-blacklist/README.md) | ||
- [`at-rule-no-unknown`](https://github.com/stylelint/stylelint/blob/master/lib/rules/at-rule-no-unknown/README.md) | ||
- [`at-rule-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/at-rule-whitelist/README.md) | ||
- [`color-named`](https://github.com/stylelint/stylelint/blob/master/lib/rules/color-named/README.md) | ||
- [`color-no-hex`](https://github.com/stylelint/stylelint/blob/master/lib/rules/color-no-hex/README.md) | ||
- [`comment-word-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/comment-word-blacklist/README.md) | ||
- [`declaration-no-important`](https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-no-important/README.md) | ||
- [`declaration-property-unit-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-property-unit-blacklist/README.md) | ||
- [`declaration-property-unit-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-property-unit-whitelist/README.md) | ||
- [`declaration-property-value-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-property-value-blacklist/README.md) | ||
- [`declaration-property-value-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/declaration-property-value-whitelist/README.md) | ||
- [`function-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/function-blacklist/README.md) | ||
- [`function-url-scheme-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/function-url-scheme-whitelist/README.md) | ||
- [`function-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/function-whitelist/README.md) | ||
- [`media-feature-name-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/media-feature-name-blacklist/README.md) | ||
- [`media-feature-name-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/media-feature-name-whitelist/README.md) | ||
- [`property-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/property-blacklist/README.md) | ||
- [`property-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/property-whitelist/README.md) | ||
- [`selector-attribute-operator-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-attribute-operator-blacklist/README.md) | ||
- [`selector-attribute-operator-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-attribute-operator-whitelist/README.md) | ||
- [`selector-no-attribute`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-attribute/README.md) | ||
- [`selector-no-combinator`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-combinator/README.md) | ||
- [`selector-no-id`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-id/README.md) | ||
- [`selector-no-qualifying-type`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-qualifying-type/README.md) | ||
- [`selector-no-type`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-type/README.md) | ||
- [`selector-no-universal`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-no-universal/README.md) | ||
- [`selector-pseudo-class-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-pseudo-class-blacklist/README.md) | ||
- [`selector-pseudo-class-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-pseudo-class-whitelist/README.md) | ||
- [`unit-blacklist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/property-blacklist/README.md) | ||
- [`unit-whitelist`](https://github.com/stylelint/stylelint/blob/master/lib/rules/property-blacklist/README.md) | ||
- Specify acceptable naming patterns using: | ||
- [`custom-media-pattern`](https://github.com/stylelint/stylelint/blob/master/src/rules/custom-media-pattern/README.md) | ||
- [`custom-property-pattern`](https://github.com/stylelint/stylelint/blob/master/src/rules/custom-property-pattern/README.md) | ||
- [`selector-class-pattern`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-class-pattern/README.md) | ||
- [`selector-id-pattern`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-id-pattern/README.md) | ||
- [`selector-nested-pattern`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-nested-pattern/README.md) | ||
- [`custom-media-pattern`](https://github.com/stylelint/stylelint/blob/master/lib/rules/custom-media-pattern/README.md) | ||
- [`custom-property-pattern`](https://github.com/stylelint/stylelint/blob/master/lib/rules/custom-property-pattern/README.md) | ||
- [`selector-class-pattern`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-class-pattern/README.md) | ||
- [`selector-id-pattern`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-id-pattern/README.md) | ||
- [`selector-nested-pattern`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-nested-pattern/README.md) | ||
- Specify a notation when there are one or more valid representations using: | ||
- [`font-weight-notation`](https://github.com/stylelint/stylelint/blob/master/src/rules/font-weight-notation/README.md) | ||
- [`font-weight-notation`](https://github.com/stylelint/stylelint/blob/master/lib/rules/font-weight-notation/README.md) | ||
- Specify the acceptable use of custom properties using: | ||
- [`custom-property-no-outside-root`](https://github.com/stylelint/stylelint/blob/master/src/rules/custom-property-no-outside-root/README.md) | ||
- [`selector-root-no-composition`](https://github.com/stylelint/stylelint/blob/master/src/rules/selector-root-no-composition/README.md) | ||
- [`custom-property-no-outside-root`](https://github.com/stylelint/stylelint/blob/master/lib/rules/custom-property-no-outside-root/README.md) | ||
- [`selector-root-no-composition`](https://github.com/stylelint/stylelint/blob/master/lib/rules/selector-root-no-composition/README.md) | ||
- Specify what types of URLs are allowed using: | ||
- [`function-url-data-uris`](https://github.com/stylelint/stylelint/blob/master/src/rules/function-url-data-uris/README.md) | ||
- [`function-url-no-scheme-relative`](https://github.com/stylelint/stylelint/blob/master/src/rules/function-url-no-scheme-relative/README.md) | ||
- [`function-url-data-uris`](https://github.com/stylelint/stylelint/blob/master/lib/rules/function-url-data-uris/README.md) | ||
- [`function-url-no-scheme-relative`](https://github.com/stylelint/stylelint/blob/master/lib/rules/function-url-no-scheme-relative/README.md) | ||
- Specify a maximum line length using: | ||
- [`max-line-length`](https://github.com/stylelint/stylelint/blob/master/src/rules/max-line-length/README.md) | ||
- [`max-line-length`](https://github.com/stylelint/stylelint/blob/master/lib/rules/max-line-length/README.md) | ||
- Catch possible mistakes related to your targeted browsers using: | ||
- [`no-browser-hacks`](https://github.com/stylelint/stylelint/blob/master/src/rules/no-browser-hacks/README.md) | ||
- [`no-unsupported-browser-features`](https://github.com/stylelint/stylelint/blob/master/src/rules/no-unsupported-browser-features/README.md) | ||
- [`no-browser-hacks`](https://github.com/stylelint/stylelint/blob/master/lib/rules/no-browser-hacks/README.md) | ||
- [`no-unsupported-browser-features`](https://github.com/stylelint/stylelint/blob/master/lib/rules/no-unsupported-browser-features/README.md) | ||
@@ -211,0 +213,0 @@ ### Using the config with SugarSS syntax |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25165
133
237