mirror of
https://github.com/suren-atoyan/monaco-react.git
synced 2026-01-25 16:02:35 +00:00
* update dependency (@monaco-editor/loader) version to - v1.0.0 * create useMonaco hook * export useMonaco from the entry file * rename the main utility: monaco -> loader * rename editorDidMount to onMount, add beforeMount * add defaultModelPath/originalModelPath/modifiedModelPath props * add defaultValue prop and use it during default model creation * rename the utility name: monaco -> loader * handle no-unused-expressions rule * move 'prop-types' to dependencies * remove prop * remove ControlledEditor * visually combine properties with the same type * prerelease v4 * prerelease v4: release candidate 0 * fix types according to changed * add onValidate prop: an event emitted when the length of the model markers of the current model isn't 0 * update package version to 4.0.0-rc.1 * rename monacoEditor to monaco in types * add state-local as a dependency * define state-local as a external library and set in UMD globals * use state-local to store the backup of the model markers setter * fix types in comments * create draft version of v4 README file * fix tabs in Documentation * make title upper case * add codesandbox likns
8 lines
205 B
JSON
8 lines
205 B
JSON
{
|
|
"extends": ["eslint:recommended", "react-app"],
|
|
"rules": {
|
|
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
|
|
"no-unused-expressions": 0
|
|
}
|
|
}
|