Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
57f15366
Commit
57f15366
authored
Jun 17, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "monaco_editor: lint javascript with typescript compiler"
This reverts commit
9b86cf7b
.
parent
2e2fc4aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
bt5/erp5_monaco_editor/SkinTemplateItem/portal_skins/erp5_monaco_editor/monaco-editor.gadget.js.js
...ortal_skins/erp5_monaco_editor/monaco-editor.gadget.js.js
+0
-14
No files found.
bt5/erp5_monaco_editor/SkinTemplateItem/portal_skins/erp5_monaco_editor/monaco-editor.gadget.js.js
View file @
57f15366
...
...
@@ -112,20 +112,6 @@
}
);
// Annotations for javascript
monaco
.
languages
.
typescript
.
javascriptDefaults
.
setDiagnosticsOptions
({
noSemanticValidation
:
false
,
noSyntaxValidation
:
false
});
monaco
.
languages
.
typescript
.
javascriptDefaults
.
setCompilerOptions
({
target
:
monaco
.
languages
.
typescript
.
ScriptTarget
.
ES6
,
allowNonTsExtensions
:
true
,
checkJs
:
true
,
allowJs
:
true
,
module
:
monaco
.
languages
.
typescript
.
ModuleKind
.
UMD
});
// Type mapping for Nexedi libraries
function
addExtraLibrary
(
script_name
,
lib_name
)
{
return
fetch
(
script_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment