Skip to content

Commit

Permalink
include test files
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPurdy committed Sep 3, 2017
1 parent ed93438 commit 433b57c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ describe('cli', function () {
});

it('should return JSON from .sasslintrc', function (done) {
var command = 'sass-lint ../../cli/cli.scss --verbose';
var command = 'sass-lint ../../cli/cli.scss -c ".sasslintrc" --verbose';

exec(command, { cwd: path.join(__dirname, 'yml', '.sasslintrc') }, function (err, stdout) {
if (err) {
Expand Down
1 change: 0 additions & 1 deletion tests/yml/.sass-lint.yml/.sass-lint.yml

This file was deleted.

8 changes: 8 additions & 0 deletions tests/yml/.sass-lint.yml/.sass-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
options:
formatter: json
cache-config: false
merge-default-rules: false
files:
include: '**/*.s+(a|c)ss'
rules:
no-color-keywords: 1
1 change: 0 additions & 1 deletion tests/yml/.sasslintrc/.sasslintrc

This file was deleted.

13 changes: 13 additions & 0 deletions tests/yml/.sasslintrc/.sasslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"options": {
"formatter": "json",
"cache-config": false,
"merge-default-rules": false
},
"files": {
"include": "**/*.s+(a|c)ss"
},
"rules": {
"no-color-keywords": 1
}
}

0 comments on commit 433b57c

Please sign in to comment.