File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ resources /_internal
2+ * .d.ts
Original file line number Diff line number Diff line change 1+ {
2+ "root": true,
3+ "parser": "@typescript-eslint/parser",
4+ "plugins": [
5+ "@typescript-eslint"
6+ ],
7+ "extends": [
8+ "eslint:recommended",
9+ "plugin:@typescript-eslint/eslint-recommended",
10+ "plugin:@typescript-eslint/recommended"
11+ ]
12+ }
Original file line number Diff line number Diff line change 3030 <DocumentationFile >bin\Release\XrmDefinitelyTyped.xml</DocumentationFile >
3131 </PropertyGroup >
3232 <ItemGroup >
33+ <None Include =" .eslintignore" />
34+ <None Include =" .eslintrc" />
3335 <None Include =" ..\resources\XrmDefinitelyTyped-sticker_small.png" Pack =" true" PackagePath =" " />
3436 <Compile Include =" AssemblyInfo.fs" />
3537 <Compile Include =" Domain.fs" />
107109 <Content Include =" ..\..\files\*" Pack =" true" PackagePath =" content\XrmDefinitelyTyped;contentFiles\any\any\XrmDefinitelyTyped" />
108110 <None Include =" package.json" />
109111 <None Include =" tsconfig.json" />
110- <None Include =" gulpfile.js" />
111112 </ItemGroup >
112113 <ItemGroup >
113114 <PackageReference Include =" Microsoft.CrmSdk.XrmTooling.CoreAssembly" Version =" 9.1.0.51" />
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ var merge = require('merge2');
77var uglify = require ( "gulp-uglify" ) ;
88
99var ts = require ( "gulp-typescript" ) ;
10- var tslint = require ( "gulp-tslint " ) ;
10+ var eslint = require ( "gulp-eslint " ) ;
1111var tsProject = ts . createProject ( "tsconfig.json" ) ;
1212
1313var outDir = tsProject . options . outDir ;
@@ -33,12 +33,9 @@ function compile_ts(){
3333 ] ) ;
3434}
3535
36- function runTSLint ( ) {
36+ function runTsLint ( ) {
3737 return gulp . src ( "**/*.ts" )
38- . pipe ( tslint ( {
39- formatter : "verbose"
40- } ) )
41- . pipe ( tslint . report ( ) ) ;
38+ . pipe ( eslint . format ( ) ) ;
4239}
4340
4441function concat_promise ( ) {
@@ -56,7 +53,7 @@ function concat_promise() {
5653gulp . task ( "default" , gulp . series (
5754 clean ,
5855 compile_ts ,
59- runTSLint ,
56+ runTsLint ,
6057 concat_promise ,
6158 runUglify ) ) ;
6259
You can’t perform that action at this time.
0 commit comments