Prechádzať zdrojové kódy

Move tsconfig.lint.json to utils/build/

Michael Bürge 5 rokov pred
rodič
commit
a6df957635
3 zmenil súbory, kde vykonal 9 pridanie a 9 odobranie
  1. 1 1
      package.json
  2. 0 8
      tsconfig.lint.json
  3. 8 0
      utils/build/tsconfig.lint.json

+ 1 - 1
package.json

@@ -50,7 +50,7 @@
     "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
     "dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"",
     "start": "npm run dev",
-    "lint": "eslint src --ext js --ext ts && tsc -p tsconfig.lint.json",
+    "lint": "eslint src --ext js --ext ts && tsc -p utils/build/tsconfig.lint.json",
     "test": "npm run build-test && qunit -r failonlyreporter test/unit/three.source.unit.js",
     "travis": "npm run lint && npm test"
   },

+ 0 - 8
tsconfig.lint.json

@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "noEmit": true,
-  },
-  // NOTE (from https://www.typescriptlang.org/docs/handbook/tsconfig-json.html):
-  // 'If the "files" and "include" are both left unspecified, the compiler defaults to including
-  // all TypeScript (.ts, .d.ts and .tsx) files in the containing directory and subdirectories ...'
-}

+ 8 - 0
utils/build/tsconfig.lint.json

@@ -0,0 +1,8 @@
+{
+  "compilerOptions": {
+    "noEmit": true,
+  },
+  "include": [
+    "../../**/*.ts"
+  ]
+}