forked from vikunja/frontend
Update rules to use single quote
Update editor config to be consistent for YAML,JSON
This commit is contained in:
parent
034a30046c
commit
4642ce2b0f
|
@ -5,10 +5,18 @@ root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
end_of_line = crlf
|
end_of_line = lf
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
|
|
||||||
[*.vue]
|
[*.vue]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.{yaml,yml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.json]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
193
package.json
193
package.json
|
@ -1,96 +1,105 @@
|
||||||
{
|
{
|
||||||
"name": "vikunja-frontend",
|
"name": "vikunja-frontend",
|
||||||
"version": "0.10.0",
|
"version": "0.10.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"serve:dist": "node scripts/serve-dist.js",
|
"serve:dist": "node scripts/serve-dist.js",
|
||||||
"build": "vue-cli-service build --modern",
|
"build": "vue-cli-service build --modern",
|
||||||
"build:report": "vue-cli-service build --report",
|
"build:report": "vue-cli-service build --report",
|
||||||
"lint": "vue-cli-service lint --ignore-pattern '*.test.*'",
|
"lint": "vue-cli-service lint --ignore-pattern '*.test.*'",
|
||||||
"cypress:open": "cypress open",
|
"cypress:open": "cypress open",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
"test:frontend": "cypress run"
|
"test:frontend": "cypress run"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"browserslist": "4.16.6",
|
|
||||||
"bulma": "0.9.2",
|
|
||||||
"camel-case": "4.1.2",
|
|
||||||
"copy-to-clipboard": "3.3.1",
|
|
||||||
"date-fns": "2.22.1",
|
|
||||||
"dompurify": "2.2.9",
|
|
||||||
"highlight.js": "11.0.0",
|
|
||||||
"lodash": "4.17.21",
|
|
||||||
"marked": "2.0.7",
|
|
||||||
"register-service-worker": "1.7.2",
|
|
||||||
"sass": "1.34.0",
|
|
||||||
"snake-case": "3.0.4",
|
|
||||||
"verte": "0.0.12",
|
|
||||||
"vue": "2.6.13",
|
|
||||||
"vue-advanced-cropper": "1.6.0",
|
|
||||||
"vue-drag-resize": "1.5.4",
|
|
||||||
"vue-easymde": "1.4.0",
|
|
||||||
"vue-shortkey": "3.1.7",
|
|
||||||
"vue-smooth-dnd": "0.8.1",
|
|
||||||
"vuex": "3.6.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@fortawesome/fontawesome-svg-core": "1.2.35",
|
|
||||||
"@fortawesome/free-regular-svg-icons": "5.15.3",
|
|
||||||
"@fortawesome/free-solid-svg-icons": "5.15.3",
|
|
||||||
"@fortawesome/vue-fontawesome": "2.0.2",
|
|
||||||
"@vue/cli": "4.5.13",
|
|
||||||
"@vue/cli-plugin-babel": "4.5.13",
|
|
||||||
"@vue/cli-plugin-eslint": "4.5.13",
|
|
||||||
"@vue/cli-plugin-pwa": "4.5.13",
|
|
||||||
"@vue/cli-service": "4.5.13",
|
|
||||||
"axios": "0.21.1",
|
|
||||||
"babel-eslint": "10.1.0",
|
|
||||||
"cypress": "7.4.0",
|
|
||||||
"cypress-file-upload": "5.0.7",
|
|
||||||
"eslint": "7.27.0",
|
|
||||||
"eslint-plugin-vue": "7.10.0",
|
|
||||||
"faker": "5.5.3",
|
|
||||||
"jest": "27.0.3",
|
|
||||||
"sass-loader": "10.2.0",
|
|
||||||
"vue-flatpickr-component": "8.1.6",
|
|
||||||
"vue-notification": "1.3.20",
|
|
||||||
"vue-router": "3.5.1",
|
|
||||||
"vue-template-compiler": "2.6.13",
|
|
||||||
"wait-on": "5.3.0"
|
|
||||||
},
|
|
||||||
"eslintConfig": {
|
|
||||||
"root": true,
|
|
||||||
"env": {
|
|
||||||
"node": true
|
|
||||||
},
|
},
|
||||||
"extends": [
|
"dependencies": {
|
||||||
"plugin:vue/essential",
|
"browserslist": "4.16.6",
|
||||||
"eslint:recommended"
|
"bulma": "0.9.2",
|
||||||
|
"camel-case": "4.1.2",
|
||||||
|
"copy-to-clipboard": "3.3.1",
|
||||||
|
"date-fns": "2.22.1",
|
||||||
|
"dompurify": "2.2.9",
|
||||||
|
"highlight.js": "11.0.0",
|
||||||
|
"lodash": "4.17.21",
|
||||||
|
"marked": "2.0.7",
|
||||||
|
"register-service-worker": "1.7.2",
|
||||||
|
"sass": "1.34.0",
|
||||||
|
"snake-case": "3.0.4",
|
||||||
|
"verte": "0.0.12",
|
||||||
|
"vue": "2.6.13",
|
||||||
|
"vue-advanced-cropper": "1.6.0",
|
||||||
|
"vue-drag-resize": "1.5.4",
|
||||||
|
"vue-easymde": "1.4.0",
|
||||||
|
"vue-shortkey": "3.1.7",
|
||||||
|
"vue-smooth-dnd": "0.8.1",
|
||||||
|
"vuex": "3.6.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@fortawesome/fontawesome-svg-core": "1.2.35",
|
||||||
|
"@fortawesome/free-regular-svg-icons": "5.15.3",
|
||||||
|
"@fortawesome/free-solid-svg-icons": "5.15.3",
|
||||||
|
"@fortawesome/vue-fontawesome": "2.0.2",
|
||||||
|
"@vue/cli": "4.5.13",
|
||||||
|
"@vue/cli-plugin-babel": "4.5.13",
|
||||||
|
"@vue/cli-plugin-eslint": "4.5.13",
|
||||||
|
"@vue/cli-plugin-pwa": "4.5.13",
|
||||||
|
"@vue/cli-service": "4.5.13",
|
||||||
|
"axios": "0.21.1",
|
||||||
|
"babel-eslint": "10.1.0",
|
||||||
|
"cypress": "7.4.0",
|
||||||
|
"cypress-file-upload": "5.0.7",
|
||||||
|
"eslint": "7.27.0",
|
||||||
|
"eslint-plugin-vue": "7.10.0",
|
||||||
|
"faker": "5.5.3",
|
||||||
|
"jest": "27.0.3",
|
||||||
|
"sass-loader": "10.2.0",
|
||||||
|
"vue-flatpickr-component": "8.1.6",
|
||||||
|
"vue-notification": "1.3.20",
|
||||||
|
"vue-router": "3.5.1",
|
||||||
|
"vue-template-compiler": "2.6.13",
|
||||||
|
"wait-on": "5.3.0"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"root": true,
|
||||||
|
"env": {
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"plugin:vue/essential",
|
||||||
|
"eslint:recommended"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"vue/html-quotes": [
|
||||||
|
"error",
|
||||||
|
"single"
|
||||||
|
],
|
||||||
|
"quotes": [
|
||||||
|
"error",
|
||||||
|
"single"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"parser": "babel-eslint"
|
||||||
|
},
|
||||||
|
"ignorePatterns": [
|
||||||
|
"*.test.js",
|
||||||
|
"cypress/*"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"postcss": {
|
||||||
|
"plugins": {
|
||||||
|
"autoprefixer": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"> 1%",
|
||||||
|
"last 2 versions",
|
||||||
|
"not ie < 11"
|
||||||
],
|
],
|
||||||
"rules": {},
|
"license": "AGPL-3.0-or-later",
|
||||||
"parserOptions": {
|
"jest": {
|
||||||
"parser": "babel-eslint"
|
"testPathIgnorePatterns": [
|
||||||
},
|
"cypress"
|
||||||
"ignorePatterns": [
|
]
|
||||||
"*.test.js",
|
|
||||||
"cypress/*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"postcss": {
|
|
||||||
"plugins": {
|
|
||||||
"autoprefixer": {}
|
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"browserslist": [
|
|
||||||
"> 1%",
|
|
||||||
"last 2 versions",
|
|
||||||
"not ie < 11"
|
|
||||||
],
|
|
||||||
"license": "AGPL-3.0-or-later",
|
|
||||||
"jest": {
|
|
||||||
"testPathIgnorePatterns": [
|
|
||||||
"cypress"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user