mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
dabcd53bc9
commit
1f97945580
Generated
+6124
-1299
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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",
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user