File tree Expand file tree Collapse file tree 2 files changed +2
-26
lines changed Expand file tree Collapse file tree 2 files changed +2
-26
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
3- const {
4- compilerPaths,
5- esNextPaths,
6- typescriptPaths,
7- } = require ( './scripts/shared/pathsByLanguageVersion' ) ;
3+ const { esNextPaths} = require ( './scripts/shared/pathsByLanguageVersion' ) ;
84
95module . exports = {
106 bracketSpacing : false ,
@@ -28,25 +24,11 @@ module.exports = {
2824 } ,
2925 } ,
3026 {
31- files : typescriptPaths ,
27+ files : [ '*.ts' , '*.tsx' ] ,
3228 options : {
3329 trailingComma : 'all' ,
3430 parser : 'typescript' ,
3531 } ,
3632 } ,
37- {
38- files : compilerPaths ,
39- options : {
40- requirePragma : false ,
41- parser : 'babel-ts' ,
42- semi : true ,
43- singleQuote : false ,
44- trailingComma : 'es5' ,
45- bracketSpacing : true ,
46- bracketSameLine : false ,
47- printWidth : 80 ,
48- arrowParens : 'always' ,
49- } ,
50- } ,
5133 ] ,
5234} ;
Original file line number Diff line number Diff line change 66 */
77'use strict' ;
88
9- const compilerPaths = [ 'compiler/**' ] ;
10-
119// Files that are transformed and can use ES6/Flow/JSX.
1210const esNextPaths = [
1311 // Internal forwarding modules
@@ -27,11 +25,7 @@ const esNextPaths = [
2725// Files that we distribute on npm that should be ES5-only.
2826const es5Paths = [ 'packages/*/npm/**/*.js' ] ;
2927
30- const typescriptPaths = [ 'packages/**/*.d.ts' ] ;
31-
3228module . exports = {
33- compilerPaths,
3429 esNextPaths,
3530 es5Paths,
36- typescriptPaths,
3731} ;
You can’t perform that action at this time.
0 commit comments