Sha256: 73062d8756319faf0a0ff48127eb96370384221e10374d3597bba5172be35457

Contents?: true

Size: 833 Bytes

Versions: 50

Compression:

Stored size: 833 Bytes

Contents

module.exports = {
  root: true,
  env: {
    node: true,
  },
  extends: [
    'plugin:vue/essential',
    'plugin:prettier/recommended',
    '@vue/prettier',
  ],
  plugins: ['prettier'],
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'prettier/prettier': [
      'warn',
      {
        endOfLine: 'auto',
      },
    ],
    'vue/multi-word-component-names': 'off',
    'vue/valid-v-slot': [
      'error',
      {
        allowModifiers: true,
      },
    ],
  },
  parserOptions: {
    parser: '@babel/eslint-parser',
  },
  overrides: [
    {
      files: [
        '**/__tests__/*.{j,t}s?(x)',
        '**/tests/unit/**/*.spec.{j,t}s?(x)',
      ],
      env: {
        jest: true,
      },
    },
  ],
}

Version data entries

50 entries across 28 versions & 1 rubygems

Version Path
openc3-5.14.1 templates/widget/.eslintrc.js
openc3-5.14.1 templates/tool_vue/.eslintrc.js
openc3-5.14.0 templates/widget/.eslintrc.js
openc3-5.14.0 templates/tool_vue/.eslintrc.js
openc3-5.13.0 templates/widget/.eslintrc.js
openc3-5.13.0 templates/tool_vue/.eslintrc.js
openc3-5.12.0 templates/tool_vue/.eslintrc.js
openc3-5.12.0 templates/widget/.eslintrc.js
openc3-5.11.3 templates/widget/.eslintrc.js
openc3-5.11.3 templates/tool_vue/.eslintrc.js
openc3-5.11.2 templates/widget/.eslintrc.js
openc3-5.11.2 templates/tool_vue/.eslintrc.js
openc3-5.11.1 templates/tool_vue/.eslintrc.js
openc3-5.11.1 templates/widget/.eslintrc.js
openc3-5.11.0 templates/tool_vue/.eslintrc.js
openc3-5.11.0 templates/widget/.eslintrc.js
openc3-5.10.1 templates/tool_vue/.eslintrc.js
openc3-5.10.1 templates/widget/.eslintrc.js
openc3-5.10.0 templates/tool_vue/.eslintrc.js
openc3-5.10.0 templates/widget/.eslintrc.js