Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit75585a6

Browse files
authored
Merge pull request#56 from ShMcK/fix/test-runner
support additional langs
2 parents0693ced +de743a4 commit75585a6

File tree

5 files changed

+526
-521
lines changed

5 files changed

+526
-521
lines changed

‎.vscode/settings.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"editor.formatOnSave":true,
33
"eslint.autoFixOnSave":true,
44
"eslint.validate": ["javascript", {"language":"typescript","autoFix":true }],
5-
"[javascript]": {
6-
"editor.formatOnSave":false
7-
},
8-
"[typescript]": {
9-
"editor.formatOnSave":false
10-
},
115
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
126
"files.exclude": {
137
"build":false// set this to true to hide the "out" folder with the compiled JS files
@@ -21,7 +15,5 @@
2115
"titleBar.activeBackground":"#000000",
2216
"titleBar.activeForeground":"#FFFFFF"
2317
},
24-
"cSpell.ignoreWords": [
25-
"camelcase"
26-
]
18+
"cSpell.ignoreWords": ["camelcase"]
2719
}

‎src/editor/languageMap.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ import * as G from 'typings/graphql'
33
constlanguageMap:{
44
[lang:string]:G.FileFormat
55
}={
6-
//go: 'GO',
6+
go:'GO',
77
javascript:'JS',
88
javascriptreact:'JSX',
99
json:'JSON',
10-
//less: 'LESS',
11-
//lua: 'LUA',
12-
//php: 'PHP',
13-
//python: 'PY',
14-
//ruby: 'RB',
15-
//sass: 'SASS',
16-
//scss: 'SCSS',
17-
//sql: 'SQL',
10+
less:'LESS',
11+
lua:'LUA',
12+
php:'PHP',
13+
python:'PY',
14+
ruby:'RB',
15+
sass:'SASS',
16+
scss:'SCSS',
17+
sql:'SQL',
1818
typescript:'TS',
1919
typescriptreact:'TSX',
20-
//yaml: 'YAML'
20+
yaml:'YAML',
2121
}
2222

2323
exportdefaultlanguageMap

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp