Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add linting script #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add linting script #11

wants to merge 2 commits into from

Conversation

jubeatwww
Copy link
Collaborator

No description provided.

@@ -9,7 +9,8 @@
"type:declaration": "tsc --noEmit false --emitDeclarationOnly --declaration --declarationDir ./dist",
"test": "cross-env TS_NODE_PROJECT=tsconfig.test.json mocha ./test/index.ts",
"build": "$npm_execpath run build:babel && $npm_execpath run type:declaration",
"build:babel": "cross-env NODE_ENV=production babel ./src --out-dir ./dist --extensions '.ts'"
"build:babel": "cross-env NODE_ENV=production babel ./src --out-dir ./dist --extensions '.ts'",
"lint": "tslint -c tslint.json src/**/*.ts"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tslint -c tslint.json --project . -t codeFrame

@@ -266,7 +266,7 @@ class Bot extends EventEmitter {
}

resetSearchCondition(): void {
this.searchCondition.init();
this.searchCondition.init();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants