Sha256: a48f863cded8f70f97977568f065faadc2fd1fdd3443df0d7d22702ab7ac33ea

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

extends:
  - eslint-config-shakacode
  - prettier
  - prettier/react

plugins:
  - prettier

globals:
  __DEBUG_SERVER_ERRORS__: true
  __SERVER_ERRORS__: true

env:
  browser: true
  node: true
  mocha: true
  jest: true

overrides:
  - files: ["**/*.ts", "**/*.tsx"]
    parser: "@typescript-eslint/parser"
    parserOptions:
      ecmaVersion: 2018
      sourceType: module
      project: "./tsconfig.json"
    extends:
      - eslint:recommended
      - plugin:@typescript-eslint/eslint-recommended
      - plugin:@typescript-eslint/recommended
    plugins:
      - "@typescript-eslint"
    rules:
      "@typescript-eslint/no-namespace": 0

rules:
  no-console: 0
  function-paren-newline: 0
  object-curly-newline: 0
  no-restricted-syntax: ["error", "SequenceExpression"]
  # https://stackoverflow.com/a/59268871/5241481
  import/extensions: ['error', 'ignorePackages', {"js": 'never',"ts": "never"}]

  # https://github.com/benmosher/eslint-plugin-import/issues/340
  import/no-extraneous-dependencies: 0

settings:
  import/core-modules:
    - react-redux
  import/resolver:
    node:
      extensions: [".js", ".ts", ".d.ts"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
react_on_rails-12.0.5.beta.0 .eslintrc
react_on_rails-12.0.4 .eslintrc