mirror of
https://github.com/Pandipipas/scoreko-dev.git
synced 2026-06-06 03:32:06 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// @ts-check
|
||||
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript';
|
||||
import pluginVue from 'eslint-plugin-vue';
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
/* Rules used for anything browser related (dashboard and graphics). */
|
||||
export default tseslint.config({
|
||||
extends: defineConfigWithVueTs(
|
||||
pluginVue.configs['flat/recommended'],
|
||||
vueTsConfigs.recommended,
|
||||
),
|
||||
rules: {
|
||||
// Allows "main.vue" files to be named as such.
|
||||
'vue/multi-word-component-names': ['error', { ignores: ['main'] }],
|
||||
},
|
||||
files: [
|
||||
'src/browser_shared/**/*.ts',
|
||||
'src/browser_shared/**/*.vue',
|
||||
'src/dashboard/**/*.ts',
|
||||
'src/dashboard/**/*.vue',
|
||||
'src/graphics/**/*.ts',
|
||||
'src/graphics/**/*.vue',
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user