language: en
useGitignore: true
# TODO enableGlobDot: true
ignorePaths:
  # Excluded from spelling check
  - cspell.yml
  - package.json
  - package-lock.json
  - tsconfig.json
  - benchmark/github-schema.graphql
  - benchmark/github-schema.json
  - website/icons
  - website/css
overrides:
  - filename: 'website/**'
    dictionaries:
      - fullstack
    words:
      - clsx
      - infima
      - noopener
      - Vite
      - craco
      - esbuild
      - swcrc
      - noreferrer
      - xlink

ignoreRegExpList:
  - u\{[0-9a-f]{1,8}\}

words:
  - graphiql
  - sublinks
  - instanceof

  # Different names used inside tests
  - Skywalker
  - Leia
  - Wilhuff
  - Tarkin
  - Artoo
  - Threepio
  - Odie
  - Odie's
  - Damerau
  - Alderaan
  - Tatooine
  - astromech

  # TODO: contribute upstream
  - deno
  - codecov

  # Website tech
  - Nextra
  - headlessui
  - Fastify
  - tailwindcss
  - svgr
  - ruru
  - oneof

  # used as href anchors
  - graphqlerror
  - syntaxerror
  - formaterror
  - graphqlschema
  - graphqlscalartype
  - graphqlobjecttype
  - graphqlinterfacetype
  - graphqluniontype
  - graphqlenumtype
  - graphqlinputobjecttype
  - graphqllist
  - graphqlnonnull
  - graphqlint
  - graphqlfloat
  - graphqlstring
  - graphqlboolean
  - graphqlid
  - getlocation
  - isinputtype
  - isoutputtype
  - isleaftype
  - iscompositetype
  - isabstracttype
  - getnullabletype
  - getnamedtype
  - introspectionquery
  - buildclientschema
  - buildschema
  - printschema
  - printintrospectionschema
  - buildastschema
  - typefromast
  - astfromvalue
  - typeinfo
  - isvalidjsvalue
  - isvalidliteralvalue
  - specifiedrules
  - Wordmark
  - codeofconduct
  - graphqlconf

  # website words
  - runtimes

  # TODO: remove bellow words
  - QLID # GraphQLID
  - QLJS # GraphQLJS
  - iface
  - Reqs
  - FXXX
  - XXXF
  - bfnrt
  - wrds