-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from Miorey/migration/vue3
Libs upgrade - translation refactoring
- Loading branch information
Showing
26 changed files
with
6,508 additions
and
20,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v18.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` | ||
] | ||
}; |
Oops, something went wrong.