# *********************************************
# |docname| - Configure ESLint for this project
# *********************************************
env:
  commonjs: true
  node: true
extends:
  - standard
  # See the `ESLint config prettier docs <https://github.com/prettier/eslint-config-prettier#installation>`_ and its parent link, `integrating Prettier with linters <https://prettier.io/docs/en/integrating-with-linters.html>`_.
  - prettier
parser: '@typescript-eslint/parser'
parserOptions:
  ecmaVersion: latest
plugins:
  - '@typescript-eslint'
rules:
  camelcase: off
  # TypeScript already enforces this; otherwise, eslint complains that ``NodeJS`` is undefined. See `this GitHub issue <https://github.com/Chatie/eslint-config/issues/45#issuecomment-1003990077>`_.
  no-undef: off