Sha256: d99115a918e334f7ebe3b451266426df38ba4aeda4a400662c85ca3e584d444f

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

/* eslint-disable no-undef */
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended')
const eslintPluginYml = require('eslint-plugin-yml')
const eslint = require('@eslint/js')
const globals = require('globals')

const common = [
  eslintPluginPrettierRecommended,
  eslint.configs.recommended,
  ...eslintPluginYml.configs['flat/recommended'],
  {
    languageOptions: {
      parserOptions: {
        sourceType: 'module'
      },
      globals: {
        ...globals.browser,
        ...globals.node
      }
    },
    rules: {
      'class-methods-use-this': 'warn',
      'no-param-reassign': [
        'error',
        {
          props: false
        }
      ],
      'no-tabs': 'error',
      'no-plusplus': 'off',
      'no-underscore-dangle': 'off',
      'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
      'import/extensions': 'off',
      'import/first': 'off',
      'import/no-unresolved': 'off',
      'prettier/prettier': 'error',
      'yml/plain-scalar': 'off',
      'yml/quotes': [
        'error',
        {
          prefer: 'single'
        }
      ],
      'yml/indent': 'off',
      'yml/sort-keys': 'off',
      'yml/no-empty-mapping-value': 'off',
      'yml/no-multiple-empty-lines': [
        'error',
        {
          max: 1
        }
      ],
      'yml/no-empty-document': 'off'
    },
    settings: {}
  },
  {
    ignores: [
      '.DS_Store',
      'node_modules/',
      'tmp/',
      'coverage/',
      '.vscode/',
      'yarn.lock',
      'Gemfile.lock',
      '.env*',
      '!.env*.dist',
      'coverage/',
      'public/assets/',
      '**/.terraform/',
      'tmp/*',
      '.idea/*',
      'dump.rdb',
      '*.iml',
      '**/kustomization.yaml',
      '**/templates/',
      '**/values.yaml',
      '**/templates/',
      '.github/',
      '.torba/'
    ]
  }
]

//EOF_DISTRIBUTION

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aaf-mdqt-0.8.9 eslint.config.js