stylelint-selector-pattern

A stylelint plugin that allows to check selectors with regular expressions.
git clone https://git.ce9e.org/stylelint-selector-pattern.git

commit
67b0ba9af9cd50f4cf9d0adf7a9a02e73163f235
parent
4b2a9cd395f6869c33d6fafbe40c24afb953d2ec
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2017-02-17 07:26
add jshint

Diffstat

M index.js 2 +-
M package.json 7 ++++++-

2 files changed, 7 insertions, 2 deletions


diff --git a/index.js b/index.js

@@ -23,7 +23,7 @@ var presets = {
   23    23     }
   24    24   }],
   25    25   itcss: ["^\.(o-|c-|u-|t-|s-|is-|has-|_|js-|qa-)[a-z0-9-]+"]
   26    -1 }
   -1    26 };
   27    27 
   28    28 var ruleName = "xi/selector-pattern";
   29    29 var messages =  stylelint.utils.ruleMessages(ruleName, {

diff --git a/package.json b/package.json

@@ -3,6 +3,9 @@
    3     3   "version": "0.0.0",
    4     4   "description": "A stylelint plugin checks selectors with a regular expression",
    5     5   "main": "index.js",
   -1     6   "scripts": {
   -1     7     "lint": "jshint index.js",
   -1     8   },
    6     9   "repository": {
    7    10     "type": "git",
    8    11     "url": "git+https://github.com/xi/stylelint-selector-pattern.git"
@@ -25,5 +28,7 @@
   25    28     "postcss-resolve-nested-selector": "^0.1.1",
   26    29     "stylelint": "^7.8.0"
   27    30   },
   28    -1   "devDependencies": {}
   -1    31   "devDependencies": {
   -1    32     "jshint": "^2.9.4"
   -1    33   }
   29    34 }