Skip to content

Commit

Permalink
Merge pull request #66 from Miorey/migration/vue3
Browse files Browse the repository at this point in the history
Libs upgrade - translation refactoring
  • Loading branch information
Miorey authored Mar 7, 2024
2 parents 6b80835 + 509daea commit da9efaf
Show file tree
Hide file tree
Showing 26 changed files with 6,508 additions and 20,046 deletions.
81 changes: 45 additions & 36 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,49 @@
module.exports = {
env: {
browser: true,
es6: true,
amd: true,
node: true
},
extends: [
`eslint:recommended`,
`plugin:vue/essential`
env: {
browser: true,
es2021: true, // Updated to ES2021
amd: true,
node: true
},
extends: [
`eslint:recommended`,
`plugin:vue/vue3-essential`, // Updated for Vue 3, if you're using Vue 3
`plugin:@typescript-eslint/recommended`, // If you're using TypeScript
],
globals: {
Atomics: `readonly`,
SharedArrayBuffer: `readonly`
},
parser: `vue-eslint-parser`,
parserOptions: {
ecmaVersion: 2021, // Updated to ECMA 2021
sourceType: `module`,
parser: `@typescript-eslint/parser`, // If you're using TypeScript
},
plugins: [
`vue`,
`@typescript-eslint`, // If you're using TypeScript
],
rules: {
indent: [
`error`,
2 // Changed to 2 spaces for indentation, change as needed
],
globals: {
Atomics: `readonly`,
SharedArrayBuffer: `readonly`
},
parserOptions: {
ecmaVersion: 2018,
sourceType: `module`
},
plugins: [
`vue`
'linebreak-style': [
`error`,
`windows`
],
rules: {
indent: [
`error`,
4
],
"linebreak-style": [
`error`,
`windows`
],
semi: [2, `always`],
"quote-props": [`error`, `as-needed`],
quotes: [
`error`,
`backtick`
],
"no-console": `off`,
},
semi: [`error`, `always`],
'quote-props': [`error`, `as-needed`],
quotes: [
`error`,
`backtick`
],
// 'no-console': `warn`,
'no-unused-vars': `warn`,
'no-var': `error`,
'prefer-const': `error`,

'vue/no-deprecated-filter': `off`
},
};
6 changes: 2 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ on:

jobs:
build:

runs-on: windows-latest

strategy:
matrix:
node-version: [14.x]

node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -28,3 +25,4 @@ jobs:
- run: npm run electron:buildci
env:
CI: true
NODE_OPTIONS: --openssl-legacy-provider
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.0
6 changes: 3 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
presets: [
`@vue/cli-plugin-babel/preset`
]
presets: [
`@vue/cli-plugin-babel/preset`
]
};
Loading

0 comments on commit da9efaf

Please sign in to comment.