@w5s/cspell-config 3.1.14 → 3.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ datasources
9
9
  editorconfig
10
10
  esnext
11
11
  frontends
12
+ frontmatter
12
13
  githooks
13
14
  gitmoji
14
15
  gitmojis
package/dist/index.d.ts CHANGED
@@ -1,10 +1,3 @@
1
- //#region src/meta.d.ts
2
- declare const meta: Readonly<{
3
- name: string;
4
- version: string;
5
- buildNumber: number;
6
- }>;
7
- //#endregion
8
1
  //#region ../../node_modules/.pnpm/@cspell+cspell-types@10.0.1/node_modules/@cspell/cspell-types/dist/index-ufqGDeKQ.d.mts
9
2
  //#region src/Parser/types.d.ts
10
3
  /**
@@ -1805,5 +1798,12 @@ interface CompatibleEngineVersions {
1805
1798
  //#region src/config.d.ts
1806
1799
  declare const config: AdvancedCSpellSettings;
1807
1800
  //#endregion
1801
+ //#region src/meta.d.ts
1802
+ declare const meta: Readonly<{
1803
+ buildNumber: number;
1804
+ name: string;
1805
+ version: string;
1806
+ }>;
1807
+ //#endregion
1808
1808
  export { config as default, meta };
1809
1809
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,11 +1,4 @@
1
1
  import cSpellSettings from "@cspell/cspell-bundled-dicts/cspell-default.config.js";
2
- //#region src/meta.ts
3
- const meta = Object.freeze({
4
- name: "@w5s/cspell-config",
5
- version: "3.1.14",
6
- buildNumber: 1
7
- });
8
- //#endregion
9
2
  //#region src/config.ts
10
3
  const toArray = (value) => Array.isArray(value) ? value : value == null ? [] : [value];
11
4
  const defaultSettings = cSpellSettings;
@@ -13,48 +6,42 @@ const excludeImport = /* @__PURE__ */ new Set([]);
13
6
  const dictionaryDefinitions = [
14
7
  {
15
8
  addWords: false,
9
+ description: "Additional file types",
16
10
  name: "w5s-filetypes",
17
- path: "../dict/filetypes.txt",
18
- description: "Additional file types"
11
+ path: "../dict/filetypes.txt"
19
12
  },
20
13
  {
21
14
  addWords: false,
15
+ description: "Fullstack terms",
22
16
  name: "w5s-fullstack",
23
- path: "../dict/fullstack.txt",
24
- description: "Fullstack terms"
17
+ path: "../dict/fullstack.txt"
25
18
  },
26
19
  {
27
20
  addWords: false,
21
+ description: "Typescript keywords",
28
22
  name: "w5s-typescript",
29
- path: "../dict/typescript.txt",
30
- description: "Typescript keywords"
23
+ path: "../dict/typescript.txt"
31
24
  },
32
25
  {
33
26
  addWords: false,
27
+ description: "Known names",
34
28
  name: "w5s-names",
35
- path: "../dict/names.txt",
36
- description: "Known names"
29
+ path: "../dict/names.txt"
37
30
  },
38
31
  {
39
32
  addWords: false,
33
+ description: "NPM packages",
40
34
  name: "w5s-npm",
41
- path: "../dict/npm.txt",
42
- description: "NPM packages"
35
+ path: "../dict/npm.txt"
43
36
  }
44
37
  ];
45
38
  const config = {
46
39
  ...defaultSettings,
47
- name: "W5S default settings .js",
48
- id: "w5s-default-js",
49
- language: "en",
50
40
  description: "Default cspell configuration.",
51
- words: [],
52
- flagWords: [],
53
- useGitignore: true,
54
- dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],
55
41
  dictionaries: [...toArray(defaultSettings.dictionaries), ...dictionaryDefinitions.map((dictionaryDefinition) => dictionaryDefinition.name).filter((name) => !["w5s-typescript"].includes(name))],
56
- ignoreWords: [],
57
- import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),
42
+ dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],
43
+ flagWords: [],
44
+ id: "w5s-default-js",
58
45
  ignorePaths: [
59
46
  ...toArray(defaultSettings.ignorePaths),
60
47
  "**/CHANGELOG.md",
@@ -73,29 +60,42 @@ const config = {
73
60
  "**/*.webp",
74
61
  "**/*.webm"
75
62
  ],
63
+ ignoreWords: [],
64
+ import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),
65
+ language: "en",
76
66
  languageSettings: [
77
67
  ...toArray(defaultSettings.languageSettings),
78
68
  {
79
- languageId: "typescript,javascript,typescriptreact,javascriptreact",
80
- locale: "*",
81
- includeRegExpList: [],
69
+ dictionaries: ["w5s-typescript"],
70
+ dictionaryDefinitions: [],
82
71
  ignoreRegExpList: [
83
72
  "js-hex-escape",
84
73
  "js-unicode-escape",
85
74
  "js-regexp-flags"
86
75
  ],
87
- patterns: [],
88
- dictionaries: ["w5s-typescript"],
89
- dictionaryDefinitions: []
76
+ includeRegExpList: [],
77
+ languageId: "typescript,javascript,typescriptreact,javascriptreact",
78
+ locale: "*",
79
+ patterns: []
90
80
  },
91
81
  {
82
+ ignoreRegExpList: ["\\/\\* eslint-disable.+", "\\/\\/ eslint-disable.+"],
92
83
  languageId: "typescript,javascript,typescriptreact,javascriptreact",
93
- locale: "*",
94
- ignoreRegExpList: ["\\/\\* eslint-disable.+", "\\/\\/ eslint-disable.+"]
84
+ locale: "*"
95
85
  }
96
- ]
86
+ ],
87
+ name: "W5S default settings .js",
88
+ useGitignore: true,
89
+ words: []
97
90
  };
98
91
  //#endregion
92
+ //#region src/meta.ts
93
+ const meta = Object.freeze({
94
+ buildNumber: 1,
95
+ name: "@w5s/cspell-config",
96
+ version: "3.1.16"
97
+ });
98
+ //#endregion
99
99
  export { config as default, meta };
100
100
 
101
101
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/meta.ts","../src/config.ts"],"sourcesContent":["export const meta = Object.freeze({\n // @ts-ignore - these variables are injected at build time\n name: (typeof __PACKAGE_NAME__ === 'undefined' ? '' : __PACKAGE_NAME__) as string,\n // @ts-ignore - these variables are injected at build time\n version: (typeof __PACKAGE_VERSION__ === 'undefined' ? '' : __PACKAGE_VERSION__) as string,\n // @ts-ignore - these variables are injected at build time\n buildNumber: 1 as number, // (typeof __PACKAGE_BUILD_NUMBER__ === 'undefined' ? 0 : __PACKAGE_BUILD_NUMBER__) as number,\n});\n","import type { AdvancedCSpellSettings } from '@cspell/cspell-types';\n// @ts-ignore CSpell config is not typed\nimport cSpellSettings from '@cspell/cspell-bundled-dicts/cspell-default.config.js';\n\nconst toArray = <T>(value: T | T[] | undefined) => (Array.isArray(value) ? value : value == null ? [] : [value]);\nconst defaultSettings = cSpellSettings as AdvancedCSpellSettings;\n// eslint-disable-next-line unicorn/no-useless-collection-argument\nconst excludeImport = new Set<string>([\n // Put here the imports you want to exclude\n]);\nconst dictionaryDefinitions: AdvancedCSpellSettings['dictionaryDefinitions'] = [\n {\n addWords: false,\n name: 'w5s-filetypes',\n path: '../dict/filetypes.txt',\n description: 'Additional file types',\n },\n {\n addWords: false,\n name: 'w5s-fullstack',\n path: '../dict/fullstack.txt',\n description: 'Fullstack terms',\n },\n {\n addWords: false,\n name: 'w5s-typescript',\n path: '../dict/typescript.txt',\n description: 'Typescript keywords',\n },\n {\n addWords: false,\n name: 'w5s-names',\n path: '../dict/names.txt',\n description: 'Known names',\n },\n {\n addWords: false,\n name: 'w5s-npm',\n path: '../dict/npm.txt',\n description: 'NPM packages',\n },\n];\n\nexport const config: AdvancedCSpellSettings = {\n ...defaultSettings,\n name: 'W5S default settings .js',\n id: 'w5s-default-js',\n language: 'en',\n description: 'Default cspell configuration.',\n words: [],\n flagWords: [],\n useGitignore: true,\n dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],\n dictionaries: [\n ...toArray(defaultSettings.dictionaries),\n ...dictionaryDefinitions\n .map((dictionaryDefinition) => dictionaryDefinition.name)\n .filter((name) => !['w5s-typescript'].includes(name)),\n ],\n ignoreWords: [],\n import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),\n ignorePaths: [\n ...toArray(defaultSettings.ignorePaths),\n '**/CHANGELOG.md',\n '**/__snapshots__/**',\n // '**/.git/**',\n '**/.vscode/**',\n '**/*.snap',\n '**/dist/**',\n '**/node_modules/**',\n '**/package.json',\n '**/package-lock.json',\n '**/renovate.json',\n '**/vscode-extension/**',\n '**/yarn.lock',\n '**/pnpm-lock.yaml',\n\n // Ignore common media files\n '**/*.svg',\n '**/*.webp',\n '**/*.webm',\n ],\n languageSettings: [\n ...toArray(defaultSettings.languageSettings),\n {\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n includeRegExpList: [],\n ignoreRegExpList: ['js-hex-escape', 'js-unicode-escape', 'js-regexp-flags'],\n patterns: [],\n dictionaries: ['w5s-typescript'],\n dictionaryDefinitions: [],\n },\n {\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n // eslint-disable-next-line unicorn/prefer-string-raw\n ignoreRegExpList: ['\\\\/\\\\* eslint-disable.+', '\\\\/\\\\/ eslint-disable.+'],\n },\n ],\n};\n"],"mappings":";;AAAA,MAAa,OAAO,OAAO,OAAO;CAEhC,MAAA;CAEA,SAAA;CAEA,aAAa;AACf,CAAC;;;ACHD,MAAM,WAAc,UAAgC,MAAM,QAAQ,KAAK,IAAI,QAAQ,SAAS,OAAO,CAAC,IAAI,CAAC,KAAK;AAC9G,MAAM,kBAAkB;AAExB,MAAM,gCAAgB,IAAI,IAAY,CAEtC,CAAC;AACD,MAAM,wBAAyE;CAC7E;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;CACA;EACE,UAAU;EACV,MAAM;EACN,MAAM;EACN,aAAa;CACf;AACF;AAEA,MAAa,SAAiC;CAC5C,GAAG;CACH,MAAM;CACN,IAAI;CACJ,UAAU;CACV,aAAa;CACb,OAAO,CAAC;CACR,WAAW,CAAC;CACZ,cAAc;CACd,uBAAuB,CAAC,GAAG,QAAQ,gBAAgB,qBAAqB,GAAG,GAAG,qBAAqB;CACnG,cAAc,CACZ,GAAG,QAAQ,gBAAgB,YAAY,GACvC,GAAG,sBACA,KAAK,yBAAyB,qBAAqB,IAAI,CAAC,CACxD,QAAQ,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,SAAS,IAAI,CAAC,CACxD;CACA,aAAa,CAAC;CACd,QAAQ,QAAQ,gBAAgB,MAAM,CAAC,CAAC,QAAQ,SAAS,CAAC,cAAc,IAAI,IAAI,CAAC;CACjF,aAAa;EACX,GAAG,QAAQ,gBAAgB,WAAW;EACtC;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;CACF;CACA,kBAAkB;EAChB,GAAG,QAAQ,gBAAgB,gBAAgB;EAC3C;GACE,YAAY;GACZ,QAAQ;GACR,mBAAmB,CAAC;GACpB,kBAAkB;IAAC;IAAiB;IAAqB;GAAiB;GAC1E,UAAU,CAAC;GACX,cAAc,CAAC,gBAAgB;GAC/B,uBAAuB,CAAC;EAC1B;EACA;GACE,YAAY;GACZ,QAAQ;GAER,kBAAkB,CAAC,2BAA2B,yBAAyB;EACzE;CACF;AACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/config.ts","../src/meta.ts"],"sourcesContent":["import type { AdvancedCSpellSettings } from '@cspell/cspell-types';\n\n// @ts-ignore CSpell config is not typed\nimport cSpellSettings from '@cspell/cspell-bundled-dicts/cspell-default.config.js';\n\nconst toArray = <T>(value: T | T[] | undefined) => (Array.isArray(value) ? value : value == null ? [] : [value]);\nconst defaultSettings = cSpellSettings as AdvancedCSpellSettings;\n// eslint-disable-next-line unicorn/no-useless-collection-argument\nconst excludeImport = new Set<string>([\n // Put here the imports you want to exclude\n]);\nconst dictionaryDefinitions: AdvancedCSpellSettings['dictionaryDefinitions'] = [\n {\n addWords: false,\n description: 'Additional file types',\n name: 'w5s-filetypes',\n path: '../dict/filetypes.txt',\n },\n {\n addWords: false,\n description: 'Fullstack terms',\n name: 'w5s-fullstack',\n path: '../dict/fullstack.txt',\n },\n {\n addWords: false,\n description: 'Typescript keywords',\n name: 'w5s-typescript',\n path: '../dict/typescript.txt',\n },\n {\n addWords: false,\n description: 'Known names',\n name: 'w5s-names',\n path: '../dict/names.txt',\n },\n {\n addWords: false,\n description: 'NPM packages',\n name: 'w5s-npm',\n path: '../dict/npm.txt',\n },\n];\n\nexport const config: AdvancedCSpellSettings = {\n ...defaultSettings,\n description: 'Default cspell configuration.',\n dictionaries: [\n ...toArray(defaultSettings.dictionaries),\n ...dictionaryDefinitions\n .map((dictionaryDefinition) => dictionaryDefinition.name)\n .filter((name) => !['w5s-typescript'].includes(name)),\n ],\n dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],\n flagWords: [],\n id: 'w5s-default-js',\n ignorePaths: [\n ...toArray(defaultSettings.ignorePaths),\n '**/CHANGELOG.md',\n '**/__snapshots__/**',\n // '**/.git/**',\n '**/.vscode/**',\n '**/*.snap',\n '**/dist/**',\n '**/node_modules/**',\n '**/package.json',\n '**/package-lock.json',\n '**/renovate.json',\n '**/vscode-extension/**',\n '**/yarn.lock',\n '**/pnpm-lock.yaml',\n\n // Ignore common media files\n '**/*.svg',\n '**/*.webp',\n '**/*.webm',\n ],\n ignoreWords: [],\n import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),\n language: 'en',\n languageSettings: [\n ...toArray(defaultSettings.languageSettings),\n {\n dictionaries: ['w5s-typescript'],\n dictionaryDefinitions: [],\n ignoreRegExpList: ['js-hex-escape', 'js-unicode-escape', 'js-regexp-flags'],\n includeRegExpList: [],\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n patterns: [],\n },\n {\n // eslint-disable-next-line unicorn/prefer-string-raw\n ignoreRegExpList: ['\\\\/\\\\* eslint-disable.+', '\\\\/\\\\/ eslint-disable.+'],\n languageId: 'typescript,javascript,typescriptreact,javascriptreact',\n locale: '*',\n },\n ],\n name: 'W5S default settings .js',\n useGitignore: true,\n words: [],\n};\n","export const meta = Object.freeze({\n // @ts-ignore - these variables are injected at build time\n buildNumber: 1 as number, // (typeof __PACKAGE_BUILD_NUMBER__ === 'undefined' ? 0 : __PACKAGE_BUILD_NUMBER__) as number,\n // @ts-ignore - these variables are injected at build time\n name: (typeof __PACKAGE_NAME__ === 'undefined' ? '' : __PACKAGE_NAME__) as string,\n // @ts-ignore - these variables are injected at build time\n version: (typeof __PACKAGE_VERSION__ === 'undefined' ? '' : __PACKAGE_VERSION__) as string,\n});\n"],"mappings":";;AAKA,MAAM,WAAc,UAAgC,MAAM,QAAQ,KAAK,IAAI,QAAQ,SAAS,OAAO,CAAC,IAAI,CAAC,KAAK;AAC9G,MAAM,kBAAkB;AAExB,MAAM,gCAAgB,IAAI,IAAY,CAEtC,CAAC;AACD,MAAM,wBAAyE;CAC7E;EACE,UAAU;EACV,aAAa;EACb,MAAM;EACN,MAAM;CACR;CACA;EACE,UAAU;EACV,aAAa;EACb,MAAM;EACN,MAAM;CACR;CACA;EACE,UAAU;EACV,aAAa;EACb,MAAM;EACN,MAAM;CACR;CACA;EACE,UAAU;EACV,aAAa;EACb,MAAM;EACN,MAAM;CACR;CACA;EACE,UAAU;EACV,aAAa;EACb,MAAM;EACN,MAAM;CACR;AACF;AAEA,MAAa,SAAiC;CAC5C,GAAG;CACH,aAAa;CACb,cAAc,CACZ,GAAG,QAAQ,gBAAgB,YAAY,GACvC,GAAG,sBACA,KAAK,yBAAyB,qBAAqB,IAAI,CAAC,CACxD,QAAQ,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,SAAS,IAAI,CAAC,CACxD;CACA,uBAAuB,CAAC,GAAG,QAAQ,gBAAgB,qBAAqB,GAAG,GAAG,qBAAqB;CACnG,WAAW,CAAC;CACZ,IAAI;CACJ,aAAa;EACX,GAAG,QAAQ,gBAAgB,WAAW;EACtC;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;EACA;EACA;CACF;CACA,aAAa,CAAC;CACd,QAAQ,QAAQ,gBAAgB,MAAM,CAAC,CAAC,QAAQ,SAAS,CAAC,cAAc,IAAI,IAAI,CAAC;CACjF,UAAU;CACV,kBAAkB;EAChB,GAAG,QAAQ,gBAAgB,gBAAgB;EAC3C;GACE,cAAc,CAAC,gBAAgB;GAC/B,uBAAuB,CAAC;GACxB,kBAAkB;IAAC;IAAiB;IAAqB;GAAiB;GAC1E,mBAAmB,CAAC;GACpB,YAAY;GACZ,QAAQ;GACR,UAAU,CAAC;EACb;EACA;GAEE,kBAAkB,CAAC,2BAA2B,yBAAyB;GACvE,YAAY;GACZ,QAAQ;EACV;CACF;CACA,MAAM;CACN,cAAc;CACd,OAAO,CAAC;AACV;;;ACrGA,MAAa,OAAO,OAAO,OAAO;CAEhC,aAAa;CAEb,MAAA;CAEA,SAAA;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/cspell-config",
3
- "version": "3.1.14",
3
+ "version": "3.1.16",
4
4
  "description": "CSpell configuration presets",
5
5
  "keywords": [
6
6
  "cspell"
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "sideEffect": false,
58
- "gitHead": "4cca98f83977b854f9d1d6b2338658aa3104ad0b"
58
+ "gitHead": "e6c63e0164ce2199e59bdca360f4766b6a78584d"
59
59
  }
package/src/config.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { AdvancedCSpellSettings } from '@cspell/cspell-types';
2
+
2
3
  // @ts-ignore CSpell config is not typed
3
4
  import cSpellSettings from '@cspell/cspell-bundled-dicts/cspell-default.config.js';
4
5
 
@@ -11,54 +12,48 @@ const excludeImport = new Set<string>([
11
12
  const dictionaryDefinitions: AdvancedCSpellSettings['dictionaryDefinitions'] = [
12
13
  {
13
14
  addWords: false,
15
+ description: 'Additional file types',
14
16
  name: 'w5s-filetypes',
15
17
  path: '../dict/filetypes.txt',
16
- description: 'Additional file types',
17
18
  },
18
19
  {
19
20
  addWords: false,
21
+ description: 'Fullstack terms',
20
22
  name: 'w5s-fullstack',
21
23
  path: '../dict/fullstack.txt',
22
- description: 'Fullstack terms',
23
24
  },
24
25
  {
25
26
  addWords: false,
27
+ description: 'Typescript keywords',
26
28
  name: 'w5s-typescript',
27
29
  path: '../dict/typescript.txt',
28
- description: 'Typescript keywords',
29
30
  },
30
31
  {
31
32
  addWords: false,
33
+ description: 'Known names',
32
34
  name: 'w5s-names',
33
35
  path: '../dict/names.txt',
34
- description: 'Known names',
35
36
  },
36
37
  {
37
38
  addWords: false,
39
+ description: 'NPM packages',
38
40
  name: 'w5s-npm',
39
41
  path: '../dict/npm.txt',
40
- description: 'NPM packages',
41
42
  },
42
43
  ];
43
44
 
44
45
  export const config: AdvancedCSpellSettings = {
45
46
  ...defaultSettings,
46
- name: 'W5S default settings .js',
47
- id: 'w5s-default-js',
48
- language: 'en',
49
47
  description: 'Default cspell configuration.',
50
- words: [],
51
- flagWords: [],
52
- useGitignore: true,
53
- dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],
54
48
  dictionaries: [
55
49
  ...toArray(defaultSettings.dictionaries),
56
50
  ...dictionaryDefinitions
57
51
  .map((dictionaryDefinition) => dictionaryDefinition.name)
58
52
  .filter((name) => !['w5s-typescript'].includes(name)),
59
53
  ],
60
- ignoreWords: [],
61
- import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),
54
+ dictionaryDefinitions: [...toArray(defaultSettings.dictionaryDefinitions), ...dictionaryDefinitions],
55
+ flagWords: [],
56
+ id: 'w5s-default-js',
62
57
  ignorePaths: [
63
58
  ...toArray(defaultSettings.ignorePaths),
64
59
  '**/CHANGELOG.md',
@@ -80,22 +75,28 @@ export const config: AdvancedCSpellSettings = {
80
75
  '**/*.webp',
81
76
  '**/*.webm',
82
77
  ],
78
+ ignoreWords: [],
79
+ import: toArray(defaultSettings.import).filter((dict) => !excludeImport.has(dict)),
80
+ language: 'en',
83
81
  languageSettings: [
84
82
  ...toArray(defaultSettings.languageSettings),
85
83
  {
84
+ dictionaries: ['w5s-typescript'],
85
+ dictionaryDefinitions: [],
86
+ ignoreRegExpList: ['js-hex-escape', 'js-unicode-escape', 'js-regexp-flags'],
87
+ includeRegExpList: [],
86
88
  languageId: 'typescript,javascript,typescriptreact,javascriptreact',
87
89
  locale: '*',
88
- includeRegExpList: [],
89
- ignoreRegExpList: ['js-hex-escape', 'js-unicode-escape', 'js-regexp-flags'],
90
90
  patterns: [],
91
- dictionaries: ['w5s-typescript'],
92
- dictionaryDefinitions: [],
93
91
  },
94
92
  {
95
- languageId: 'typescript,javascript,typescriptreact,javascriptreact',
96
- locale: '*',
97
93
  // eslint-disable-next-line unicorn/prefer-string-raw
98
94
  ignoreRegExpList: ['\\/\\* eslint-disable.+', '\\/\\/ eslint-disable.+'],
95
+ languageId: 'typescript,javascript,typescriptreact,javascriptreact',
96
+ locale: '*',
99
97
  },
100
98
  ],
99
+ name: 'W5S default settings .js',
100
+ useGitignore: true,
101
+ words: [],
101
102
  };
package/src/index.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './meta.js';
2
1
  export { config as default } from './config.js';
2
+ export * from './meta.js';
package/src/meta.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export const meta = Object.freeze({
2
+ // @ts-ignore - these variables are injected at build time
3
+ buildNumber: 1 as number, // (typeof __PACKAGE_BUILD_NUMBER__ === 'undefined' ? 0 : __PACKAGE_BUILD_NUMBER__) as number,
2
4
  // @ts-ignore - these variables are injected at build time
3
5
  name: (typeof __PACKAGE_NAME__ === 'undefined' ? '' : __PACKAGE_NAME__) as string,
4
6
  // @ts-ignore - these variables are injected at build time
5
7
  version: (typeof __PACKAGE_VERSION__ === 'undefined' ? '' : __PACKAGE_VERSION__) as string,
6
- // @ts-ignore - these variables are injected at build time
7
- buildNumber: 1 as number, // (typeof __PACKAGE_BUILD_NUMBER__ === 'undefined' ? 0 : __PACKAGE_BUILD_NUMBER__) as number,
8
8
  });