TSK-1048: expanded eslint to scan every *.ts file (instead of src/*.ts)

This commit is contained in:
Mustapha Zorgati 2020-03-18 06:32:22 +01:00
parent 5cac3442be
commit 4d0d577ed0
3 changed files with 8 additions and 10 deletions

View File

@ -10,7 +10,7 @@
"build:prod-silent": "ng build --prod=true --no-progress",
"test": "ng test --karma-config karma.conf.js --watch=false --browsers Firefox",
"test:watch": "ng test --karma-config karma.conf.js --browsers Chrome",
"lint": "eslint src/app/**/*.ts"
"lint": "eslint --ext .ts src"
},
"private": true,
"dependencies": {

View File

@ -26,23 +26,21 @@
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** Evergreen browsers require these. **/
/** Evergreen browsers require these. */
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
/** ALL Firefox browsers require the following to support `@angular/animation`. */
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** *************************************************************************************************
* Zone JS is required by Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
/** *************************************************************************************************
* APPLICATION IMPORTS
*/