import uniHelper from '@uni-helper/eslint-config' export default uniHelper({ unocss: true, vue: true, markdown: false, ignores: [ 'src/uni_modules/', 'dist', // Type files generated by unplugin-auto-import, changes on every commit, so add them here to work with .gitignore 'auto-import.d.ts', // Type files generated by vite-plugin-uni-pages, many differences on every branch switch, so directly .gitignore 'uni-pages.d.ts', // Plugin generated files 'src/pages.json', 'src/manifest.json', // Ignore auto-generated files 'src/service/app/**', ], rules: { 'no-console': 'off', 'no-unused-vars': 'off', 'vue/no-unused-refs': 'off', 'unused-imports/no-unused-vars': 'off', 'eslint-comments/no-unlimited-disable': 'off', 'jsdoc/check-param-names': 'off', 'jsdoc/require-returns-description': 'off', 'ts/no-empty-object-type': 'off', 'no-extend-native': 'off', }, formatters: { /** * Format CSS, LESS, SCSS files, also the `