mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
eslint config
This commit is contained in:
+19
-18
@@ -103,29 +103,30 @@ export default defineConfig([
|
|||||||
jsdoc({
|
jsdoc({
|
||||||
config: 'flat/recommended',
|
config: 'flat/recommended',
|
||||||
rules: {
|
rules: {
|
||||||
|
'jsdoc/require-jsdoc': 'off',
|
||||||
'jsdoc/require-param-description': 'off',
|
'jsdoc/require-param-description': 'off',
|
||||||
'jsdoc/require-returns-description': 'off',
|
'jsdoc/require-returns-description': 'off',
|
||||||
'jsdoc/reject-function-type': 'off'
|
'jsdoc/reject-function-type': 'off'
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
{
|
// {
|
||||||
ignores: [
|
// ignores: [
|
||||||
'**/__tests__/**',
|
// '**/__tests__/**',
|
||||||
'**/*.spec.{js,mjs,cjs,vue}',
|
// '**/*.spec.{js,mjs,cjs,vue}',
|
||||||
'**/*.test.{js,mjs,cjs,vue}'
|
// '**/*.test.{js,mjs,cjs,vue}'
|
||||||
],
|
// ],
|
||||||
plugins: { 'pretty-import': prettyImport },
|
// plugins: { 'pretty-import': prettyImport },
|
||||||
rules: {
|
// rules: {
|
||||||
'pretty-import/separate-type-imports': 'warn',
|
// 'pretty-import/separate-type-imports': 'warn',
|
||||||
'pretty-import/sort-import-groups': [
|
// 'pretty-import/sort-import-groups': [
|
||||||
'warn',
|
// 'warn',
|
||||||
{
|
// {
|
||||||
groupStyleImports: true
|
// groupStyleImports: true
|
||||||
}
|
// }
|
||||||
],
|
// ],
|
||||||
'pretty-import/sort-import-names': 'warn'
|
// 'pretty-import/sort-import-names': 'warn'
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
...eslintPluginPrettierRecommended,
|
...eslintPluginPrettierRecommended,
|
||||||
ignores: [
|
ignores: [
|
||||||
|
|||||||
Reference in New Issue
Block a user