Sha256: 12aa8235561cbb43496d9ebe50abe37445e848908d98d023491785a3bc4fc000

Contents?: true

Size: 1.02 KB

Versions: 16

Compression:

Stored size: 1.02 KB

Contents

module.exports = {
  root: true,
  env: {
    browser: true,
    node: true,
    jest: true,
  },
  extends: [
    'plugin:vue/essential',
    'eslint:recommended',
    '@vue/prettier',
  ],
  parserOptions: {
    ecmaVersion: 2020,
  },
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
    quotes: [2, 'single', { avoidEscape: true, allowTemplateLiterals: true }],
    'prettier/prettier': [
      'warn',
      {
        semi: false,
        trailingComma: 'all',
        singleQuote: true,
        printWidth: 80,
        tabWidth: 2,
        arrow_parens: 'avoid',
        endOfLine: 'lf',
      },
    ],
  },
  overrides: [
    {
      files: [
        '**/__tests__/*.{j,t}s?(x)',
        '**/tests/unit/**/*.spec.{j,t}s?(x)',
      ],
      env: {
        jest: true,
      },
    },
  ],
  ignorePatterns: [
    "app/javascript/controllers/**/*.js",
    "app/javascript/packs/**/*.js",
    "app/javascript/utils/**/*.js"
  ],
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
maglevcms-1.4.0 .eslintrc.js
maglevcms-1.3.0 .eslintrc.js
maglevcms-1.2.2 .eslintrc.js
maglevcms-1.2.1 .eslintrc.js
maglevcms-1.2.0 .eslintrc.js
maglevcms-1.1.7 .eslintrc.js
maglevcms-1.1.6 .eslintrc.js
maglevcms-1.1.5 .eslintrc.js
maglevcms-1.1.4 .eslintrc.js
maglevcms-1.1.3 .eslintrc.js
maglevcms-1.1.2 .eslintrc.js
maglevcms-1.1.1 .eslintrc.js
maglevcms-1.1.0 .eslintrc.js
maglevcms-1.0.0 .eslintrc.js
maglevcms-1.0.0.rc3 .eslintrc.js
maglevcms-1.0.0.rc2 .eslintrc.js