monaco-react/.eslintrc.json
Suren Atoyan e7d98cb181
v4 (#163)
* 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
2021-01-17 18:56:18 +04:00

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
}
}