Skip to content

Commit

Permalink
Merge pull request #2 from Elao/update-rules
Browse files Browse the repository at this point in the history
Updates rules with stylelint 7.5.0
  • Loading branch information
cmeiller authored Oct 20, 2016
2 parents 5c223dd + ca58933 commit 04e086c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.1

* Updates rules with stylelint 7.5.0

# 0.2.0

* First stable beta release
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-elao",
"version": "0.2.0",
"version": "0.2.1",
"description": "Elao CSS Stylelint configuration",
"keywords": [
"stylelint",
Expand Down
9 changes: 2 additions & 7 deletions src/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,7 @@ const rules = {
"media-feature-no-missing-punctuation": true, // Disallow missing punctuation for non-boolean media features.
"media-feature-range-operator-space-after": "always", // Require a single space or disallow whitespace after the range operator in media features.
"media-feature-range-operator-space-before": "always", // Require a single space or disallow whitespace before the range operator in media features.

//
// Media query
// ====================

"media-query-parentheses-space-inside": "never", // Require a single space or disallow whitespace on the inside of the parentheses within media queries.
"media-feature-parentheses-space-inside": "never", // Require a single space or disallow whitespace on the inside of the parentheses within media features.

//
// Media query list
Expand Down Expand Up @@ -272,7 +267,7 @@ const rules = {
"no-eol-whitespace": true, // Disallow end-of-line whitespace.
"no-extra-semicolons": true, // Disallow extra semicolons.
"no-invalid-double-slash-comments": true, // Disallow double-slash comments (//...) which are not supported by CSS.
"no-missing-eof-newline": true, // Disallow missing end-of-file newline.
"no-missing-end-of-source-newline": true, // Disallow missing end-of-source newlines.
"no-unknown-animations": true, // Disallow animation names that do not correspond to a @keyframes declaration.
}

Expand Down

0 comments on commit 04e086c

Please sign in to comment.