mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
add .eslintrc for src and scripts. update typescript-eslint
This commit is contained in:
11
scripts/.eslintrc.json
Normal file
11
scripts/.eslintrc.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"extends": "../.eslintrc.json",
|
||||
"parserOptions": {
|
||||
"tsconfigRootDir": "scripts",
|
||||
"project": [
|
||||
"./importDefinitelyTypedTests/tsconfig.json",
|
||||
"./eslint/tsconfig.json",
|
||||
"./tsconfig.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -22,11 +22,10 @@
|
||||
|
||||
"include": [
|
||||
"rules",
|
||||
"tests",
|
||||
"tests/support/*.json"
|
||||
"tests"
|
||||
],
|
||||
|
||||
"exclude": [
|
||||
"tests/fixtures"
|
||||
"fixtures"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,24 +1,27 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true,
|
||||
"removeComments": false,
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"declaration": false,
|
||||
"sourceMap": true,
|
||||
"lib": [
|
||||
"es6",
|
||||
"scripthost"
|
||||
],
|
||||
"strictNullChecks": true,
|
||||
"newLine": "lf",
|
||||
"types": ["node"]
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"types": ["node"],
|
||||
"lib": ["es6", "scripthost"],
|
||||
},
|
||||
"files": [
|
||||
"produceLKG.ts",
|
||||
"buildProtocol.ts",
|
||||
"processDiagnosticMessages.ts",
|
||||
|
||||
"includes": [
|
||||
"generateLocalizedDiagnosticMessages.ts",
|
||||
"processDiagnosticMessages.ts",
|
||||
"configurePrerelease.ts",
|
||||
"failed-tests.d.ts",
|
||||
"buildProtocol.ts",
|
||||
"produceLKG.ts",
|
||||
"word2md.ts"
|
||||
],
|
||||
|
||||
"exclude": [
|
||||
"ambient.d.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user