UNPKG

@hevelop/nuxt-criteo-onetag

Version:

A Nuxt.js module to integrate Criteo OneTag for tracking various events

51 lines (50 loc) 1.77 kB
module.exports = { env: { node: true, browser: true, es6: true, commonjs: true, }, parser: 'vue-eslint-parser', parserOptions: { parser: '@typescript-eslint/parser', tsconfigRootDir: __dirname, extraFileExtensions: ['.vue'], ecmaVersion: 2021, sourceType: 'module', project: './tsconfig.json', }, extends: ['@vue-storefront/eslint-config'], plugins: ['prettier'], ignorePatterns: ['.eslintrc.js'], rules: { '@typescript-eslint/no-floating-promises': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-unsafe-assignment': 'off', 'vue/block-lang': 'off', '@typescript-eslint/no-unsafe-argument': 'off', 'vue/no-deprecated-v-on-native-modifier': 'off', 'prettier/prettier': ['error'], '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unused-expressions': 'off', 'vue/require-explicit-emits': 'off', 'vue/custom-event-name-casing': 'off', '@typescript-eslint/unbound-method': 'off', 'vue/v-on-event-hyphenation': 'off', 'max-lines-per-function': ['error', 400], 'max-lines': 'off', 'max-statements': 'off', 'unicorn/no-keyword-prefix': 'off', 'unicorn/expiring-todo-comments': 'off', complexity: 'off', 'unicorn/consistent-function-scoping': 'off', 'sonarjs/cognitive-complexity': 'off', 'sonarjs/no-duplicated-branches': 'off', 'unicorn/numeric-separators-style': 'off', 'unicorn/prevent-abbreviations': 'off', 'unicorn/consistent-destructuring': 'off', 'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }], 'no-secrets/no-secrets': 'off', }, };