Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
206 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false | ||
|
||
# 4 tab indentation | ||
[Makefile] | ||
indent_style = tab | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
const rules = { | ||
} | ||
|
||
module.exports = { | ||
extends: '@chatie', | ||
rules, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,3 +64,5 @@ typings/ | |
Gemfile.lock | ||
_site/ | ||
tmp/ | ||
|
||
package-lock.json |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"rules": { | ||
"docs/_posts": [ | ||
"^docs/_posts/", | ||
"/[0-9\\-a-z]+\\.", | ||
"\\.md$" | ||
], | ||
"docs/assets": [ | ||
"^docs/assets/", | ||
"/[0-9\\-a-z]+\\.", | ||
"\\.(jpg|png|gif)$" | ||
] | ||
}, | ||
"ignore": [ | ||
"tests/fixtures/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "ai-ml.club", | ||
"version": "0.0.1", | ||
"description": "AI ML Club", | ||
"main": "index.js", | ||
"directories": { | ||
"doc": "docs" | ||
}, | ||
"scripts": { | ||
"lint": "npm run lint:fs", | ||
"lint:fs": "file-name-linter file-name-linter.json", | ||
"test": "npm run test:unit", | ||
"test:unit": "blue-tape -r ts-node/register 'src/**/*.spec.ts' 'tests/**/*.spec.ts'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/BUPT/ai-ml.club.git" | ||
}, | ||
"keywords": [ | ||
"AI", | ||
"ML", | ||
"Club", | ||
"AMC" | ||
], | ||
"author": "Huan LI <zixia@zixia.net>", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/BUPT/ai-ml.club/issues" | ||
}, | ||
"homepage": "https://github.com/BUPT/ai-ml.club#readme", | ||
"devDependencies": { | ||
"@chatie/eslint-config": "^0.6.12", | ||
"@chatie/tsconfig": "^0.6.1", | ||
"@types/glob": "^7.1.1", | ||
"file-name-linter": "^1.1.0", | ||
"glob": "^7.1.4", | ||
"tstest": "^0.4.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ mogrify \ | |
-resize '1920>' \ | ||
${FILES} | ||
|
||
cd - | ||
cd - | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"typescript.tsdk": "./node_modules/typescript/lib", | ||
|
||
"editor.fontFamily": "'Fira Code iScript', Consolas, 'Courier New', monospace", | ||
"editor.fontLigatures": true, | ||
|
||
"editor.tokenColorCustomizations": { | ||
"textMateRules": [ | ||
{ | ||
"scope": [ | ||
//following will be in italics (=Pacifico) | ||
"comment", | ||
// "entity.name.type.class", //class names | ||
"keyword", //import, export, return… | ||
"support.class.builtin.js", //String, Number, Boolean…, this, super | ||
"storage.modifier", //static keyword | ||
"storage.type.class.js", //class keyword | ||
"storage.type.function.js", // function keyword | ||
"storage.type.js", // Variable declarations | ||
"keyword.control.import.js", // Imports | ||
"keyword.control.from.js", // From-Keyword | ||
"entity.name.type.js", // new … Expression | ||
"keyword.control.flow.js", // await | ||
"keyword.control.conditional.js", // if | ||
"keyword.control.loop.js", // for | ||
"keyword.operator.new.js", // new | ||
], | ||
"settings": { | ||
"fontStyle": "italic", | ||
}, | ||
}, | ||
{ | ||
"scope": [ | ||
//following will be excluded from italics (My theme (Monokai dark) has some defaults I don't want to be in italics) | ||
"invalid", | ||
"keyword.operator", | ||
"constant.numeric.css", | ||
"keyword.other.unit.px.css", | ||
"constant.numeric.decimal.js", | ||
"constant.numeric.json", | ||
"entity.name.type.class.js" | ||
], | ||
"settings": { | ||
"fontStyle": "", | ||
}, | ||
} | ||
] | ||
}, | ||
"files.exclude": { | ||
"dist/": true, | ||
"doc/": true, | ||
"node_modules/": true, | ||
"package/": true, | ||
}, | ||
"alignment": { | ||
"operatorPadding": "right", | ||
"indentBase": "firstline", | ||
"surroundSpace": {, | ||
"colon": [1, 1], // The first number specify how much space to add to the left, can be negative. The second number is how much space to the right, can be negative. | ||
"assignment": [1, 1], // The same as above. | ||
"arrow": [1, 1], // The same as above. | ||
"comment": 2, // Special how much space to add between the trailing comment and the code. | ||
// If this value is negative, it means don't align the trailing comment. | ||
} | ||
}, | ||
"editor.formatOnSave": false, | ||
"python.pythonPath": "python3", | ||
"eslint.validate": [ | ||
"javascript", | ||
"typescript", | ||
], | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module 'glob-promise' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env ts-node | ||
|
||
import test from 'tstest' | ||
|
||
test('integration testing', async t => { | ||
t.pass('ok') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"extends": "@chatie/tsconfig", | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
}, | ||
"exclude": [ | ||
"node_modules/", | ||
"dist/", | ||
"tests/fixtures/", | ||
], | ||
"include": [ | ||
"app/**/*.ts", | ||
"bin/*.ts", | ||
"bot/**/*.ts", | ||
"examples/**/*.ts", | ||
"scripts/**/*.ts", | ||
"src/**/*.ts", | ||
"tests/**/*.spec.ts", | ||
], | ||
} |