diff --git a/cspell.json b/cspell.json deleted file mode 100644 index 137edea6f3..0000000000 --- a/cspell.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "language": "en", - "ignorePaths": [ - // Copied from '.gitignore', please keep it in sync. - ".eslintcache", - "node_modules", - "coverage", - "npmDist", - "denoDist", - "npm", - "deno", - - // Excluded from spelling check - "cspell.json", - "package.json", - "package-lock.json", - "tsconfig.json", - "benchmark/github-schema.graphql", - "benchmark/github-schema.json" - ], - "overrides": [ - { - "filename": "**/docs/APIReference-*.md", - "ignoreRegExpList": ["/href=\"[^\"]*\"/"] - } - ], - "words": [ - "graphiql", - "sublinks", - "subcommand", - "transpilation", - "instanceof", - "flowtype", - "noconcurrent", - - // Different names used inside tests - "Skywalker", - "Leia", - "Wilhuff", - "Tarkin", - "Artoo", - "Threepio", - "Odie", - "Odie's", - "Damerau", - "Alderaan", - "Tatooine", - "astromech", - - // TODO: contribute upstream - "deno", - "codecov", - - // TODO: remove bellow words - "Graphi", // GraphiQL - "QL's", // GraphQL's - "QLIs", // GraphQLIs* - "QLID", // GraphQLID - "QLJS", // GraphQLJS - "iface", - "Reqs", - "ORing", - "FXXX", - "XXXF", - "bfnrt", - "wrds" - ] -} diff --git a/cspell.yml b/cspell.yml new file mode 100644 index 0000000000..857f928f10 --- /dev/null +++ b/cspell.yml @@ -0,0 +1,59 @@ +language: en +ignorePaths: + # Copied from '.gitignore', please keep it in sync. + - .eslintcache + - node_modules + - coverage + - npmDist + - denoDist + - npm + - deno + + # Excluded from spelling check + - cspell.yml + - package.json + - package-lock.json + - tsconfig.json + - benchmark/github-schema.graphql + - benchmark/github-schema.json +overrides: + - filename: '**/docs/APIReference-*.md' + ignoreRegExpList: ['/href="[^"]*"/'] + +words: + - graphiql + - sublinks + - subcommand + - transpilation + - instanceof + - flowtype + - noconcurrent + + # Different names used inside tests + - Skywalker + - Leia + - Wilhuff + - Tarkin + - Artoo + - Threepio + - Odie + - Odie's + - Damerau + - Alderaan + - Tatooine + - astromech + + # TODO: contribute upstream + - deno + - codecov + + # TODO: remove bellow words + - QLID # GraphQLID + - QLJS # GraphQLJS + - iface + - Reqs + - ORing + - FXXX + - XXXF + - bfnrt + - wrds diff --git a/package.json b/package.json index 95783e65ca..22494ebc88 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "testonly:cover": "nyc npm run testonly", "prettier": "prettier --write --list-different .", "prettier:check": "prettier --check .", - "check:spelling": "cspell '**/*'", + "check:spelling": "cspell --no-progress '**/*'", "check:integrations": "mocha --full-trace integrationTests/*-test.js", "build:npm": "node resources/build-npm.js", "build:deno": "node resources/build-deno.js",