Lint remaining js files (#1714)

* Lint remaining js files

* Fix tsconfig
This commit is contained in:
Kiwi
2018-06-29 13:33:16 -03:00
committed by Wyatt Johnson
parent 986716b3c3
commit 4494ac8900
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
"lint": "npm-run-all --parallel lint:*",
"lint:server": "tslint --project ./tsconfig.json",
"lint:client": "tslint --project ./src/core/client/tsconfig.json",
"lint:scripts": "tslint config/**/*.js scripts/**/*.js",
"lint:scripts": "tslint ./config/**/*.js ./scripts/**/*.js ./doczrc.js ./src/**/.*.js",
"docz:watch": "docz dev"
},
"author": "",
+6 -3
View File
@@ -1,8 +1,11 @@
const path = require('path');
const path = require("path");
module.exports = {
extends: "../.babelrc.js",
plugins: [
["babel-plugin-relay", { artifactDirectory: path.resolve(__dirname, "./__generated__") }]
[
"babel-plugin-relay",
{ artifactDirectory: path.resolve(__dirname, "./__generated__") },
],
],
}
};
+1 -3
View File
@@ -36,9 +36,7 @@
}
},
"include": [
"./**/*.ts",
"./**/*.tsx",
"./**/*.d.ts",
"./**/*",
"../../types/**/*.d.ts"
],
"exclude": [