diff options
| author | Elena Vilchik | 2019-12-18 17:10:10 +0100 | 
|---|---|---|
| committer | Alban Auzeill | 2019-12-18 17:10:10 +0100 | 
| commit | c8f0071c4f5336dfe0efc5d3c218ab49f2401264 (patch) | |
| tree | 254cd5ed9531d7c62bab4f8ec082e085795ecb8f /sonar-css-plugin/src/test/resources/executables/mockSyntaxError.js | |
| parent | 13fe08e87c8a70ffe6e248b774ef826bbe1f779d (diff) | |
| download | sonar-css-c8f0071c4f5336dfe0efc5d3c218ab49f2401264.tar.bz2 | |
Rely on NodeJS API of Stylelint to execute CSS rules (#221)
Diffstat (limited to 'sonar-css-plugin/src/test/resources/executables/mockSyntaxError.js')
| -rw-r--r-- | sonar-css-plugin/src/test/resources/executables/mockSyntaxError.js | 19 | 
1 files changed, 0 insertions, 19 deletions
| diff --git a/sonar-css-plugin/src/test/resources/executables/mockSyntaxError.js b/sonar-css-plugin/src/test/resources/executables/mockSyntaxError.js deleted file mode 100644 index cd32af2..0000000 --- a/sonar-css-plugin/src/test/resources/executables/mockSyntaxError.js +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env node -var testFile = process.argv[2]; - -var result = [ -  { -    source: testFile, - -    warnings: [ -      { -        text: "Missed semicolon (CssSyntaxError)", -        line: 2, -        rule: "CssSyntaxError" -      } -    ] -  } -]; - -var json = JSON.stringify(result); -console.log(json); | 
