1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- module.exports = {
- extends: [
- 'proste/typescript.js',
- 'plugin:vue/vue3-recommended',
- ],
- globals: {
- suite: true,
- test: true,
- describe: true,
- it: true,
- expect: true,
- assert: true,
- vitest: true,
- vi: true,
- beforeAll: true,
- afterAll: true,
- beforeEach: true,
- afterEach: true,
- },
- parser: 'vue-eslint-parser',
- parserOptions: {
- parser: '@typescript-eslint/parser',
- project: './tsconfig.json',
- tsconfigRootDir: '.',
- warnOnUnsupportedTypeScriptVersion: true,
- extraFileExtensions: ['.vue'],
- },
- rules: {
- 'vue/multi-word-component-names': 0,
- 'vue/html-self-closing': [
- 2, {
- html: {
- void: 'always',
- normal: 'always',
- component: 'always',
- },
- svg: 'always',
- math: 'always',
- },
- ],
- 'vue/max-attributes-per-line': 0,
- 'vue/singleline-html-element-content-newline': 0,
- 'vue/mustache-interpolation-spacing': [1, 'never'],
- },
- overrides: [
- {
- files: ['cypress/**', 'cypress.config.ts'],
- plugins: ['cypress'],
- parserOptions: {
- project: './cypress/tsconfig.json',
- tsconfigRootDir: __dirname,
- warnOnUnsupportedTypeScriptVersion: true,
- },
- env: {
- 'cypress/globals': true,
- },
- },
- ],
- };
|