build: fix stylelint deprecation warning (#5618)

* Fixes the stylelint deprecation warning
* Fixes that stylelint lints the compiled bundles from `dist/` folders of the `dashboard` or `screenshot` app
* Updates the package-lock with NPM@5.1
This commit is contained in:
Paul Gschwendtner
2017-07-10 20:38:45 +02:00
committed by Jeremy Elbourn
parent dabcd53bc9
commit 1f97945580
4 changed files with 6127 additions and 1302 deletions
+6124 -1299
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -110,7 +110,7 @@
"scss-bundle": "^2.0.1-beta.7",
"selenium-webdriver": "^3.4.0",
"sorcery": "^0.10.0",
"stylelint": "^7.10.1",
"stylelint": "^7.12.0",
"ts-node": "^3.0.4",
"tsconfig-paths": "^2.2.0",
"tslint": "~5.4.3",
+1 -1
View File
@@ -72,6 +72,6 @@
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-no-id": true
"selector-max-id": 0
}
}
+1 -1
View File
@@ -4,7 +4,7 @@ import {join} from 'path';
import {buildConfig} from 'material2-build-tools';
/** Glob that matches all SCSS or CSS files that should be linted. */
const stylesGlob = '+(tools|src)/**/*.+(css|scss)';
const stylesGlob = '+(tools|src)/**/!(*.bundle).+(css|scss)';
/** List of flags that will passed to the different TSLint tasks. */
const tsLintBaseFlags = ['-c', 'tslint.json', '--project', './tsconfig.json'];