Skip to content

Commit 52281b1

Browse files
updates to other dependencies
1 parent 95dee2f commit 52281b1

File tree

9 files changed

+2146
-3179
lines changed

9 files changed

+2146
-3179
lines changed

src/pretalx/frontend/schedule-editor/.eslintrc.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/pretalx/frontend/schedule-editor/.stylelintrc.js

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"extends": [
3+
"stylelint-config-standard",
4+
"stylelint-stylus/standard"
5+
],
6+
"rules": {
7+
"rule-empty-line-before": null,
8+
"declaration-empty-line-before": null,
9+
"custom-property-empty-line-before": null,
10+
"string-quotes": null,
11+
"no-empty-source": null,
12+
"max-line-length": null,
13+
"no-descending-specificity": null,
14+
"color-function-notation": "legacy",
15+
"no-invalid-position-at-import-rule": null,
16+
"font-family-name-quotes": "always-where-recommended",
17+
"selector-class-pattern": null,
18+
"font-family-no-missing-generic-family-keyword": null,
19+
"declaration-block-no-redundant-longhand-properties": [
20+
true,
21+
{
22+
"ignoreShorthands": ["grid-template"]
23+
}
24+
],
25+
"alpha-value-notation": "number",
26+
"stylus/declaration-colon": "always",
27+
"stylus/media-feature-colon": "always",
28+
"stylus/indentation": "tab",
29+
"stylus/selector-list-comma": "always",
30+
"stylus/selector-list-comma-newline-after": "always-multi-line",
31+
"stylus/selector-type-no-unknown": [
32+
true,
33+
{
34+
"ignoreTypes": [
35+
"page-training-detail-text-rule-set",
36+
"page-training-detail-logic-rule-set",
37+
"iron-pages",
38+
"view-model-aso-panel"
39+
]
40+
}
41+
]
42+
}
43+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
import vue from 'eslint-plugin-vue'
2+
import vuePug from 'eslint-plugin-vue-pug'
3+
import js from '@eslint/js'
4+
5+
export default [
6+
// Base JavaScript recommended rules
7+
js.configs.recommended,
8+
9+
// Vue 3 recommended configuration
10+
...vue.configs['flat/recommended'],
11+
12+
// Vue Pug configuration (manual setup since flat config may not be available)
13+
{
14+
plugins: {
15+
'vue-pug': vuePug
16+
},
17+
rules: {
18+
...vuePug.configs.recommended.rules
19+
}
20+
},
21+
22+
{
23+
languageOptions: {
24+
ecmaVersion: 2022,
25+
sourceType: 'module',
26+
globals: {
27+
// Browser globals
28+
window: 'readonly',
29+
document: 'readonly',
30+
console: 'readonly',
31+
// Add other browser globals as needed
32+
}
33+
},
34+
35+
rules: {
36+
// Formatting and style rules
37+
'arrow-parens': 'off',
38+
'generator-star-spacing': 'off',
39+
'indent': ['error', 'tab', { SwitchCase: 1 }],
40+
'no-tabs': 'off',
41+
'comma-dangle': 'off',
42+
'curly': 'off',
43+
'no-return-assign': 'off',
44+
'object-curly-spacing': 'off',
45+
46+
// Vue-specific rules
47+
'vue/require-default-prop': 'off',
48+
'vue/multi-word-component-names': 'off',
49+
'vue/max-attributes-per-line': 'off',
50+
'vue/attribute-hyphenation': ['warn', 'never'],
51+
'vue/v-on-event-hyphenation': ['warn', 'never'],
52+
'vue/no-v-html': 'off',
53+
'vue/require-v-for-key': 'warn',
54+
'vue/valid-v-for': 'warn',
55+
'vue/component-api-style': ['error', ['script-setup']],
56+
'vue/no-undef-properties': 'error'
57+
}
58+
}
59+
]

0 commit comments

Comments
 (0)