Skip to content

Commit

Permalink
check: removing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
motla committed Oct 30, 2022
1 parent 0f9a79b commit 7e7769f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 27 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

- This library core has been rewritten for Vue3 using an hoisted static `<div>` for pages content to manage page manually and avoid conflicts between DOM contenteditable elements and Vue.js. [More info here](https://vuejs.org/guide/extras/rendering-mechanism.html#static-hoisting)
- SCSS has been converted to basic CSS, so you don't have to install a SCSS compiler anymore
- Updating dependencies
- Removing ESLint for a lighter project
- Fix [Issue 16](https://github.com/motla/vue-document-editor/issues/16): The component breaks if you remove all the content
- :warning: Warning: starting from this version, the new core implies that for using templates with custom CSS you must rename your single file components with `.ce.vue` extension. [More info here](https://vuejs.org/guide/extras/web-components.html#sfc-as-custom-element)

## v2.0.7
Expand Down
29 changes: 3 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,38 +30,15 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --dest docs && vue-cli-service build --target lib --name VueDocumentEditor src/DocumentEditor/DocumentEditor.vue",
"lint": "vue-cli-service lint",
"preversion": "npm run lint",
"version": "npm run build && git add -A"
},
"main": "src/DocumentEditor/DocumentEditor.vue",
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue": "^3.2.20",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"vue": "^3.2.41",
"vue-file-toolbar-menu": "^2.1.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "@babel/eslint-parser"
},
"rules": {
"vue/multi-word-component-names": "off"
}
},
"browserslist": [
"> 1%",
"last 2 versions",
Expand Down
1 change: 0 additions & 1 deletion src/Demo/Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<vue-file-toolbar-menu :content="menu" class="bar" />

<!-- Document editor -->
<!-- eslint-disable vue/no-v-model-argument -->
<vue-document-editor class="editor" ref="editor"
v-model:content="content"
:overlay="overlay"
Expand Down

0 comments on commit 7e7769f

Please sign in to comment.