Skip to content

Commit

Permalink
Tidy up rules and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPurdy committed Dec 26, 2017
1 parent 1dae9d0 commit 4a20cac
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.0
6
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: node_js
node_js:
- '4'
- '5'
- node
after_success: npm run coveralls
- '6'
- 'stable'
after_success: npm run coverage
notifications:
slack:
secure: RrEbq2xE1hWdog4AckkaKDnIYYwo5VdjPcFNhRJbn/7KI0fKeZVCKZy1Ww7aaJGth7R7UX415sEV1U6RrjFyhnBb6Sh+rh8fKTvcvuTbENZW45SbtUD+xmgOvb2kfk4PzgD5Q457DpchAZD7W+E+9qr3xI3Uvh4II1uhDmSKiLI=
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ init:
environment:
matrix:
- nodejs_version: '4'
- nodejs_version: '5'
- nodejs_version: '6'
# Latest stable version of Node
- nodejs_version: 'stable'

Expand Down
1 change: 1 addition & 0 deletions lib/config/sass-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ rules:
no-css-comments: 1
no-debug: 1
no-disallowed-properties: 0
no-disallowed-property-values: 0
no-duplicate-properties: 1
no-empty-rulesets: 1
no-extends: 0
Expand Down
3 changes: 3 additions & 0 deletions mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-R spec
-t 4000
tests tests/formatters tests/helpers tests/rules
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"preversion": "npm test",
"pretest": "eslint .",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec -t 3000 tests tests/helpers tests/formatters tests/rules",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --opts mocha.opts",
"coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"bin": {
"sass-lint": "./bin/sass-lint.js"
Expand Down Expand Up @@ -37,7 +37,7 @@
"gonzales-pe-sl": "^4.2.3",
"gray-matter": "^3.1.1",
"js-yaml": "^3.5.4",
"known-css-properties": "^0.3.0",
"known-css-properties": "^0.4.1",
"lodash.capitalize": "^4.1.0",
"lodash.kebabcase": "^4.0.0",
"lodash.map": "^4.6.0",
Expand All @@ -50,13 +50,13 @@
"devDependencies": {
"chai": "^4.1.2",
"cheerio": "^1.0.0-rc.2",
"coveralls": "^2.11.4",
"coveralls": "^3.0.0",
"deep-equal": "^1.0.1",
"eslint": "^4.5.0",
"istanbul": "^0.4.0",
"mocha": "^3.0.1",
"mocha": "^4.0.1",
"proxyquire": "^1.8.0",
"sinon": "^3.2.1",
"sinon": "^4.1.2",
"strip-ansi": "^4.0.0"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions tests/cli.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var assert = require('assert'),
fs = require('fs-extra'),
path = require('path'),
exec = require('child_process').exec;
const assert = require('assert');
const fs = require('fs-extra');
const path = require('path');
const exec = require('child_process').exec;

describe('cli', function () {

Expand Down
1 change: 0 additions & 1 deletion tests/yml/.color-keyword-errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ rules:
no-invalid-hex: 0
no-css-comments: 0
no-color-literals: 0
no-vendor-prefix: 0

# Style Guide
border-zero: 0
Expand Down
1 change: 0 additions & 1 deletion tests/yml/.json-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ rules:
no-invalid-hex: 0
no-css-comments: 0
no-color-literals: 0
no-vendor-prefix: 0

# Style Guide
border-zero: 0
Expand Down
1 change: 0 additions & 1 deletion tests/yml/.stylish-errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ rules:
no-invalid-hex: 0
no-css-comments: 0
no-color-literals: 0
no-vendor-prefix: 0

# Style Guide
border-zero: 0
Expand Down

0 comments on commit 4a20cac

Please sign in to comment.