Skip to content

Commit 566313e

Browse files
author
Cookiezaurs
committed
Merge branch 'anna/next' of https://github.com/Countly/countly-server into anna/next
2 parents 8546cd2 + 7769f4e commit 566313e

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ root = true
44
end_of_line = lf
55
insert_final_newline = false
66

7-
[*.{js,html,scss,json}]
7+
[*.{js,html,scss,json,vue}]
88
indent_style = space
99
indent_size = 4

.eslintrc.json

+20-7
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,13 @@
142142
{
143143
"files": [
144144
"plugins/content/frontend/content-blocks/**/*.js",
145-
"plugins/journey_engine/frontend/builder/**/*.js"
145+
"plugins/journey_engine/frontend/builder/**/*.js",
146+
"plugins/content/frontend/content-blocks/**/*.vue",
147+
"plugins/journey_engine/frontend/builder/**/*.vue"
148+
],
149+
"plugins": [
150+
"vue",
151+
"@stylistic"
146152
],
147153
"extends": [
148154
"eslint:recommended",
@@ -151,14 +157,15 @@
151157
"plugin:vue/vue3-recommended"
152158
],
153159
"rules": {
160+
// override these post initial content release, to make them fit with countly convention
154161
"no-console": ["error"],
155162
"@stylistic/quotes": ["error", "single"],
156-
"@stylistic/quote-props": ["error", "as-needed"]
163+
"@stylistic/quote-props": ["error", "as-needed"],
164+
"no-unused-vars": "off",
165+
"vue/no-unused-vars": ["error", {
166+
"ignorePattern": "^_"
167+
}]
157168
},
158-
"plugins": [
159-
"vue",
160-
"@stylistic"
161-
],
162169
"parserOptions": {
163170
"ecmaVersion": 2023,
164171
"sourceType": "module",
@@ -255,7 +262,13 @@
255262
"plugins/*/frontend/**/*.js",
256263
"plugins/*/extend/**/*.js"
257264
],
258-
"excludedFiles": "plugins/*/frontend/public/**/*.js",
265+
"excludedFiles": [
266+
"plugins/*/frontend/public/**/*.js",
267+
"plugins/content/frontend/content-blocks/**/*.js",
268+
"plugins/journey_engine/frontend/builder/**/*.js",
269+
"plugins/content/frontend/content-blocks/**/*.vue",
270+
"plugins/journey_engine/frontend/builder/**/*.vue"
271+
],
259272
"env": {
260273
"es2023": true,
261274
"node": true

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: ESLint
106106
shell: bash
107107
run: |
108-
npm install [email protected]
108+
109109
npx eslint .
110110
111111
- name: NPM install

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ frontend/express/public/stylesheets/vue/clyvue.css.map
4343
log/
4444
log/supervisord/
4545
plugins/plugins.json.*
46-
.sdk
46+
.sdk
47+
dump

0 commit comments

Comments
 (0)