mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 08:37:12 +08:00
Lint remaining js files (#1714)
* Lint remaining js files * Fix tsconfig
This commit is contained in:
+1
-1
@@ -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": "",
|
||||
|
||||
@@ -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__") },
|
||||
],
|
||||
],
|
||||
}
|
||||
};
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"./**/*.ts",
|
||||
"./**/*.tsx",
|
||||
"./**/*.d.ts",
|
||||
"./**/*",
|
||||
"../../types/**/*.d.ts"
|
||||
],
|
||||
"exclude": [
|
||||
|
||||
Reference in New Issue
Block a user