Skip to content

Commit 1e1ee80

Browse files
feat: add govuk notify exmaple binary (in snapshot) to spell dict
1 parent f7da705 commit 1e1ee80

File tree

2 files changed

+30
-63
lines changed

2 files changed

+30
-63
lines changed

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
"venv",
7171
"VNET",
7272
"WOGAN",
73-
"Zabd"
73+
"Zabd",
74+
"ZXhhbXBsZS1maWxlLnhsc3g="
7475
],
7576
"dictionaries": ["en-gb", "companies", "softwareTerms", "misc", "lorem-ipsum", "typescript", "node", "bash", "npm"],
7677
"languageSettings": [

.eslintrc.json

Lines changed: 28 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
{
22
"parser": "@typescript-eslint/parser",
33
"root": true,
4-
"plugins": [
5-
"switch-case",
6-
"simple-import-sort",
7-
"deprecation",
8-
"import",
9-
"prettier",
10-
"unused-imports"
11-
],
4+
"plugins": ["switch-case", "simple-import-sort", "deprecation", "import", "prettier", "unused-imports"],
125
"extends": [
136
"plugin:@typescript-eslint/recommended",
147
"plugin:node/recommended",
@@ -31,19 +24,11 @@
3124
},
3225
"settings": {
3326
"node": {
34-
"allowModules": [
35-
"express"
36-
],
37-
"tryExtensions": [
38-
".js",
39-
".json",
40-
".ts"
41-
]
27+
"allowModules": ["express"],
28+
"tryExtensions": [".js", ".json", ".ts"]
4229
},
4330
"import/parsers": {
44-
"@typescript-eslint/parser": [
45-
".ts"
46-
]
31+
"@typescript-eslint/parser": [".ts"]
4732
},
4833
"import/resolver": {
4934
"node": {
@@ -55,21 +40,22 @@
5540
}
5641
},
5742
"rules": {
58-
"node/no-unsupported-features/es-syntax": [
59-
"error",
60-
{
61-
"ignores": [
62-
"modules"
63-
]
64-
}
65-
],
43+
"switch-case/newline-between-switch-case": "off",
44+
"node/no-deprecated-api": "off",
45+
"node/no-extraneous-require": "off",
46+
"node/no-missing-require": "off",
47+
"node/no-unpublished-require": "off",
48+
"node/no-unsupported-features/es-builtins": "off",
49+
"node/no-unsupported-features/es-syntax": "off",
50+
"node/no-unsupported-features/node-builtins": "off",
51+
"node/no-exports-assign": "off",
6652
"node/no-missing-import": "off",
6753
"node/no-unpublished-import": "off",
6854
"simple-import-sort/imports": "error",
6955
"simple-import-sort/exports": "error",
7056
"import/first": "error",
7157
"import/no-duplicates": "error",
72-
"deprecation/deprecation": "warn",
58+
"deprecation/deprecation": "off",
7359
"@typescript-eslint/explicit-function-return-type": "off",
7460
"@typescript-eslint/explicit-module-boundary-types": "off",
7561
"import/no-unresolved": "error",
@@ -96,10 +82,7 @@
9682
"no-console": [
9783
"error",
9884
{
99-
"allow": [
100-
"info",
101-
"error"
102-
]
85+
"allow": ["info", "error"]
10386
}
10487
],
10588
"import/no-named-as-default": "off",
@@ -110,10 +93,7 @@
11093
"consistent-return": "off",
11194
"no-unused-vars": "off",
11295
"unused-imports/no-unused-imports": "error",
113-
"unused-imports/no-unused-vars": [
114-
"error",
115-
{ "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
116-
],
96+
"unused-imports/no-unused-vars": ["error", { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }],
11797
"@typescript-eslint/no-unused-vars": "off",
11898
"@typescript-eslint/ban-ts-comment": "off",
11999
"@typescript-eslint/no-explicit-any": "off",
@@ -129,31 +109,23 @@
129109
}
130110
],
131111
"import/no-named-as-default-member": "off",
132-
"prefer-destructuring": ["error", {
133-
"array": true,
134-
"object": true
135-
}]
112+
"prefer-destructuring": [
113+
"error",
114+
{
115+
"array": true,
116+
"object": true
117+
}
118+
]
136119
},
137120
"overrides": [
138121
{
139-
"files": [
140-
"**/*.test.ts",
141-
"**/*.api-test.ts"
142-
],
143-
"extends": [
144-
"plugin:jest/recommended",
145-
"plugin:jest/style",
146-
"plugin:jest-formatting/strict"
147-
],
122+
"files": ["**/*.test.ts", "**/*.api-test.ts"],
123+
"extends": ["plugin:jest/recommended", "plugin:jest/style", "plugin:jest-formatting/strict"],
148124
"rules": {
149125
"jest/expect-expect": [
150126
"warn",
151127
{
152-
"assertFunctionNames": [
153-
"expect",
154-
"request.**.expect",
155-
"**.expect\\w+"
156-
]
128+
"assertFunctionNames": ["expect", "request.**.expect", "**.expect\\w+"]
157129
}
158130
],
159131
"@typescript-eslint/no-unsafe-assignment": "off",
@@ -163,11 +135,5 @@
163135
}
164136
}
165137
],
166-
"ignorePatterns": [
167-
"node_modules/**",
168-
".eslintrc.js",
169-
"dist/**",
170-
"coverage/**",
171-
"report/**"
172-
]
173-
}
138+
"ignorePatterns": ["node_modules/**", ".eslintrc.js", "dist/**", "coverage/**", "report/**"]
139+
}

0 commit comments

Comments
 (0)