@m-social/cspell-config 0.1.0

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 M-Social
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # @m-social/cspell-config
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@m-social/cspell-config)](https://www.npmjs.com/package/@m-social/cspell-config)
4
+ [![downloads](https://img.shields.io/npm/dm/@m-social/cspell-config)](https://www.npmjs.com/package/@m-social/cspell-config)
5
+
6
+ > A shareable CSpell configuration for TypeScript projects used at [M-Social](https://msocialproduction.com)
7
+
8
+ ## 📦 Installation
9
+
10
+ Install the package using pnpm (recommended):
11
+
12
+ ```bash
13
+ pnpm add -D cspell @m-social/cspell-config
14
+ ```
15
+
16
+ Or with other package managers:
17
+
18
+ ```bash
19
+ # npm
20
+ npm install --save-dev cspell @m-social/cspell-config
21
+
22
+ # yarn
23
+ yarn add -D cspell @m-social/cspell-config
24
+ ```
25
+
26
+ ## 🚀 Usage
27
+
28
+ Create a `cspell.config.yaml` file (or use [another supported format](https://cspell.org/docs/Configuration)) in your project root with the following content:
29
+
30
+ ```yaml
31
+ import:
32
+ - '@m-social/cspell-config'
33
+ ```
34
+
35
+ ## 📄 License
36
+
37
+ MIT © M-Social
@@ -0,0 +1,24 @@
1
+ /** @type {import("@cspell/cspell-types").CSpellPackageSettings} */
2
+ const config = {
3
+ version: "0.2",
4
+ name: "m-social cspell settings .js",
5
+ id: "m-social-cspell-js",
6
+ readonly: true,
7
+ language: "en, ru, ru-ru",
8
+ description: "CSpell configuration used at M-Social.",
9
+ import: ["@cspell/cspell-bundled-dicts", "@cspell/dict-ru_ru/cspell-ext.json"],
10
+ useGitignore: true,
11
+ words: [
12
+ "oxlint",
13
+ "oxlintrc",
14
+ "tsgo",
15
+ "tsgolint",
16
+ "lingui",
17
+ "lefthook",
18
+ "m-social",
19
+ "msocial",
20
+ "msocialproduction",
21
+ ],
22
+ };
23
+
24
+ export default config;
package/cspell.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
3
+ "version": "0.2",
4
+ "name": "m-social cspell settings .json",
5
+ "id": "m-social-cspell-json",
6
+ "readonly": true,
7
+ "import": ["./cspell.config.js"]
8
+ }
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@m-social/cspell-config",
3
+ "version": "0.1.0",
4
+ "description": "Shared CSpell config for projects used at M-Social",
5
+ "keywords": [
6
+ "m-social",
7
+ "cspell",
8
+ "config",
9
+ "cspell-config"
10
+ ],
11
+ "author": {
12
+ "name": "M-Social",
13
+ "url": "https://msocialproduction.com"
14
+ },
15
+ "contributors": [
16
+ {
17
+ "name": "Artem Pitikin",
18
+ "email": "a.pitikin@msocialproduction.com"
19
+ }
20
+ ],
21
+ "license": "MIT",
22
+ "type": "module",
23
+ "sideEffects": false,
24
+ "main": "cspell.json",
25
+ "exports": {
26
+ ".": "./cspell.config.js",
27
+ "./cspell.config.js": "./cspell.config.js",
28
+ "./cspell.json": "./cspell.json"
29
+ },
30
+ "files": [
31
+ "cspell.json",
32
+ "cspell.config.js"
33
+ ],
34
+ "dependencies": {
35
+ "@cspell/cspell-bundled-dicts": "^9.6.4",
36
+ "@cspell/dict-ru_ru": "^2.3.2"
37
+ },
38
+ "peerDependencies": {
39
+ "cspell": "^9.6.4"
40
+ },
41
+ "devDependencies": {
42
+ "@biomejs/biome": "^2.3.14",
43
+ "@changesets/cli": "^2.29.8",
44
+ "@cspell/cspell-types": "^9.6.4",
45
+ "@m-social/biome-config": "^0.3.0",
46
+ "@m-social/prettier-config": "^2.0.0",
47
+ "cspell": "^9.6.4",
48
+ "prettier": "^3.8.1",
49
+ "publint": "^0.3.17",
50
+ "typescript": "^5.9.3"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ },
55
+ "scripts": {
56
+ "release": "pnpm publint && pnpm publish"
57
+ }
58
+ }