-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: upgrade eslint * update * fix
- Loading branch information
Showing
51 changed files
with
8,131 additions
and
2,307 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
semi: false | ||
singleQuote: true | ||
printWidth: 80 | ||
trailingComma: "none" | ||
endOfLine: "auto" | ||
arrowParens: "avoid" | ||
trailingComma: 'none' | ||
endOfLine: 'auto' | ||
arrowParens: 'avoid' |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -7,13 +7,12 @@ The bundle tools for Vue I18n | |
|
||
## 📦 Packages | ||
|
||
| Package | Bundler | Version (click for changelogs) | Status | | ||
| ------------------------------------------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------ | :----- | | ||
| [@intlify/unplugin-vue-i18n](packages/unplugin-vue-i18n) | vite / webpack | [![unplugin-vue-i18n version](https://img.shields.io/npm/v/@intlify/unplugin-vue-i18n.svg?label=%20&&color=yellow)](packages/unplugin-vue-i18n/CHANGELOG.md)| Stable | | ||
| [@intlify/vite-plugin-vue-i18n](packages/vite-plugin-vue-i18n) | vite | [![vite-plugin-vue-i18n version](https://img.shields.io/npm/v/@intlify/vite-plugin-vue-i18n.svg?label=%20&&color=blueviolet)](packages/vite-plugin-vue-i18n/CHANGELOG.md) (**until Vite 3**)| Hot fix maintenance only | | ||
| [@intlify/vue-i18n-loader](packages/vue-i18n-loader) | webpack | [![vue-i18n-loader version](https://img.shields.io/npm/v/@intlify/vue-i18n-loader.svg?label=%20&color=blue)](packages/vue-i18n-loader/CHANGELOG.md) (**for [email protected]**)| Hot fix maintenance only | | ||
| [@intlify/rollup-plugin-vue-i18n](packages/rollup-plugin-vue-i18n) | rollup | [![rollup-plugin-vue-i18n version](https://img.shields.io/npm/v/@intlify/rollup-plugin-vue-i18n.svg?label=%20&color=red)](packages/rollup-plugin-vue-i18n/CHANGELOG.md)| Hot fix maintenance only | | ||
|
||
| Package | Bundler | Version (click for changelogs) | Status | | ||
| ------------------------------------------------------------------ | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------- | | ||
| [@intlify/unplugin-vue-i18n](packages/unplugin-vue-i18n) | vite / webpack | [![unplugin-vue-i18n version](https://img.shields.io/npm/v/@intlify/unplugin-vue-i18n.svg?label=%20&&color=yellow)](packages/unplugin-vue-i18n/CHANGELOG.md) | Stable | | ||
| [@intlify/vite-plugin-vue-i18n](packages/vite-plugin-vue-i18n) | vite | [![vite-plugin-vue-i18n version](https://img.shields.io/npm/v/@intlify/vite-plugin-vue-i18n.svg?label=%20&&color=blueviolet)](packages/vite-plugin-vue-i18n/CHANGELOG.md) (**until Vite 3**) | Hot fix maintenance only | | ||
| [@intlify/vue-i18n-loader](packages/vue-i18n-loader) | webpack | [![vue-i18n-loader version](https://img.shields.io/npm/v/@intlify/vue-i18n-loader.svg?label=%20&color=blue)](packages/vue-i18n-loader/CHANGELOG.md) (**for [email protected]**) | Hot fix maintenance only | | ||
| [@intlify/rollup-plugin-vue-i18n](packages/rollup-plugin-vue-i18n) | rollup | [![rollup-plugin-vue-i18n version](https://img.shields.io/npm/v/@intlify/rollup-plugin-vue-i18n.svg?label=%20&color=red)](packages/rollup-plugin-vue-i18n/CHANGELOG.md) | Hot fix maintenance only | | ||
|
||
## 💪 Contribution | ||
|
||
|
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,63 @@ | ||
import { | ||
defineConfig, | ||
javascript, | ||
prettier, | ||
typescript | ||
} from '@kazupon/eslint-config' | ||
import path from 'node:path' | ||
|
||
const __dirname = path.dirname(new URL(import.meta.url).pathname) | ||
|
||
export default defineConfig( | ||
javascript(), | ||
typescript({ | ||
parserOptions: { | ||
project: [ | ||
path.join(__dirname, './tsconfig.json'), | ||
path.join(__dirname, './packages/unplugin-vue-i18n/tsconfig.json') | ||
] | ||
} | ||
}), | ||
prettier(), | ||
{ | ||
name: 'ignores', | ||
ignores: [ | ||
'packages/rollup-plugin-vue-i18n/*', | ||
'packages/vite-plugin-vue-i18n/*', | ||
'packages/vue-i18n-loader/*', | ||
'packages/unplugin-vue-i18n/lib/*', | ||
'packages/bundle-utils/lib/*', | ||
'examples/*', | ||
'**/test/fixtures/**', | ||
'**/*.config.ts', | ||
'**/dist/**', | ||
'**/.eslint-config-inspector/**', | ||
'**/tsconfig.json', | ||
'**/*.yml', | ||
'**/*.yaml', | ||
'**/*.json', | ||
'**/*.json5', | ||
'**/*.jsonc', | ||
'**/*.vue' | ||
] | ||
}, | ||
{ | ||
rules: { | ||
'no-case-declarations': 'off', | ||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': 'off', | ||
'@typescript-eslint/no-unsafe-argument': 'off', | ||
'@typescript-eslint/no-unsafe-return': 'off', | ||
'@typescript-eslint/ban-ts-comment': 'off', | ||
'@typescript-eslint/await-thenable': 'off', | ||
'@typescript-eslint/no-floating-promises': 'off', | ||
'@typescript-eslint/no-unnecessary-type-assertion': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/require-await': 'off', | ||
'@typescript-eslint/no-unused-expressions': 'off', | ||
'@typescript-eslint/no-unsafe-enum-comparison': 'off', | ||
'@typescript-eslint/no-unsafe-function-type': '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
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
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
26 changes: 12 additions & 14 deletions
26
packages/bundle-utils/test/fixtures/codegen/complex.json5
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
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
Oops, something went wrong.