mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
add oxlint and bump
This commit is contained in:
+2
-27
@@ -1,5 +1,6 @@
|
||||
import { defineConfig } from 'eslint/config';
|
||||
import { jsdoc } from 'eslint-plugin-jsdoc';
|
||||
import oxlint from 'eslint-plugin-oxlint';
|
||||
|
||||
import globals from 'globals';
|
||||
import js from '@eslint/js';
|
||||
@@ -99,31 +100,5 @@ export default defineConfig([
|
||||
'vue/no-use-v-if-with-v-for': 'warn'
|
||||
}
|
||||
},
|
||||
jsdoc({
|
||||
config: 'flat/recommended',
|
||||
rules: {
|
||||
'jsdoc/require-jsdoc': 'off',
|
||||
'jsdoc/require-param-description': 'off',
|
||||
'jsdoc/require-returns-description': 'off',
|
||||
'jsdoc/reject-function-type': 'off'
|
||||
}
|
||||
})
|
||||
// {
|
||||
// ignores: [
|
||||
// '**/__tests__/**',
|
||||
// '**/*.spec.{js,mjs,cjs,vue}',
|
||||
// '**/*.test.{js,mjs,cjs,vue}'
|
||||
// ],
|
||||
// plugins: { 'pretty-import': prettyImport },
|
||||
// rules: {
|
||||
// 'pretty-import/separate-type-imports': 'warn',
|
||||
// 'pretty-import/sort-import-groups': [
|
||||
// 'warn',
|
||||
// {
|
||||
// groupStyleImports: true
|
||||
// }
|
||||
// ],
|
||||
// 'pretty-import/sort-import-names': 'warn'
|
||||
// }
|
||||
// },
|
||||
...oxlint.configs['flat/recommended']
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user