mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			906 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			906 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   root: true,
 | |
|   env: {
 | |
|     browser: true,
 | |
|     node: true,
 | |
|   },
 | |
|   parserOptions: {
 | |
|     parser: "@typescript-eslint/parser",
 | |
|     requireConfigFile: false,
 | |
|   },
 | |
|   extends: ["@nuxtjs/eslint-config-typescript", "plugin:nuxt/recommended", "prettier"],
 | |
|   plugins: ["prettier"],
 | |
|   // add your custom rules here
 | |
|   rules: {
 | |
|     "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
 | |
|     "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
 | |
|     quotes: ["error", "double"],
 | |
|     "vue/component-name-in-template-casing": ["error", "PascalCase"],
 | |
|     camelcase: 0,
 | |
|     "vue/singleline-html-element-content-newline": "off",
 | |
|     "vue/multiline-html-element-content-newline": "off",
 | |
|     "vue/no-mutating-props": "off",
 | |
|     "vue/no-v-for-template-key-on-child": "off",
 | |
|     "vue/valid-v-slot": [
 | |
|       "error",
 | |
|       {
 | |
|         allowModifiers: true,
 | |
|       },
 | |
|     ],
 | |
|   },
 | |
| };
 |