source/patterns/@aws-solutions-constructs/eslintrc.yml [1:36]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
env:
  jest: true
  node: true

plugins:
  - '@typescript-eslint'
  - import
  - license-header

parser: '@typescript-eslint/parser'
parserOptions:
  ecmaVersion: 2018
  sourceType: module
  project: ./tsconfig.json

extends:
  - plugin:import/typescript

settings:
  import/parsers:
    '@typescript-eslint/parser': ['.ts', '.tsx']
  import/resolver:
    node: {}
    typescript:
      directory: ./tsconfig.json

rules:
  # Require use of the `import { foo } from 'bar';` form instead of `import foo = require('bar');`
  '@typescript-eslint/no-require-imports':
    - error

  # Require all imported dependencies are actually declared in package.json
  'import/no-extraneous-dependencies':
    - error
    - devDependencies:                # Only allow importing devDependencies from:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/use_cases/eslintrc.yml [1:36]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
env:
  jest: true
  node: true

plugins:
  - '@typescript-eslint'
  - import
  - license-header

parser: '@typescript-eslint/parser'
parserOptions:
  ecmaVersion: 2018
  sourceType: module
  project: ./tsconfig.json

extends:
  - plugin:import/typescript

settings:
  import/parsers:
    '@typescript-eslint/parser': ['.ts', '.tsx']
  import/resolver:
    node: {}
    typescript:
      directory: ./tsconfig.json

rules:
  # Require use of the `import { foo } from 'bar';` form instead of `import foo = require('bar');`
  '@typescript-eslint/no-require-imports':
    - error

  # Require all imported dependencies are actually declared in package.json
  'import/no-extraneous-dependencies':
    - error
    - devDependencies:                # Only allow importing devDependencies from:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



