@daiyam/artifact-lang-ts 0.10.6 → 0.11.1

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/.artifactrc.yml CHANGED
@@ -1,15 +1,15 @@
1
1
  $schema: https://raw.githubusercontent.com/zokugun/artifact/v0.11.0/schemas/v3/package.json
2
2
 
3
- journeys:
4
- - name: xo
5
- scope: global
6
- travels:
7
- - path: .xo-config.json
8
- route:
9
- map(sort):
10
- map(compose):
11
- ignores: list(concat)
12
- overrides: list(concat)
13
- plugins: list(concat)
14
- rules: map(sort, concat)
15
- $$default: overwrite
3
+ always:
4
+ .xo-config.json:
5
+ if_exists: remove
6
+
7
+ .tazerc.json:
8
+ transforms:
9
+ - description: Remove xo from exclude
10
+ jq: '.exclude -= ["xo"]'
11
+
12
+ package.json:
13
+ transforms:
14
+ - description: Remove xo from devDependencies
15
+ jq: 'del(.devDependencies.xo)'
package/README.md CHANGED
@@ -19,8 +19,6 @@ artifact add @daiyam/lang-js @daiyam/lang-ts
19
19
  Dependencies
20
20
  ------------
21
21
 
22
- - [xo](https://github.com/xojs/xo)
23
-
24
22
  License
25
23
  -------
26
24
 
@@ -1 +1 @@
1
- "*.ts": xo
1
+ "*.ts": eslint
@@ -1,7 +1,5 @@
1
1
  {
2
- "exclude": [
3
- "xo"
4
- ],
2
+ "exclude": [],
5
3
  "packageMode": {
6
4
  "@types/node": "minor",
7
5
  "typescript": "minor"
@@ -2,13 +2,13 @@
2
2
  "scripts": {
3
3
  "clean": "rimraf lib",
4
4
  "compile:src": "tsc -p src",
5
- "lint": "xo",
5
+ "lint": "eslint",
6
6
  "lint:all": "true && npm run lint",
7
- "lint:fix": "xo --fix"
7
+ "lint:fix": "eslint --fix"
8
8
  },
9
9
  "devDependencies": {
10
+ "eslint": "10.8.1",
10
11
  "rimraf": "6.1.3",
11
- "typescript": "5.9.3",
12
- "xo": "0.60.0"
12
+ "typescript": "5.9.3"
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-lang-ts",
3
- "version": "0.10.6",
3
+ "version": "0.11.1",
4
4
  "description": "The configuration for my typescript projects",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -31,5 +31,5 @@
31
31
  "project-template",
32
32
  "scaffold"
33
33
  ],
34
- "gitHead": "c21a9364789ccab92fc6bc24539a751298a91fa0"
34
+ "gitHead": "9ee29fc847758072bd4880ff4f5ce00f8daa6b19"
35
35
  }
@@ -1,169 +0,0 @@
1
- {
2
- "ignores": [
3
- "*.config.js",
4
- "*.config.ts"
5
- ],
6
- "rules": {
7
- "@typescript-eslint/ban-types": "off",
8
- "@typescript-eslint/brace-style": [
9
- "error",
10
- "stroustrup"
11
- ],
12
- "@typescript-eslint/class-literal-property-style": [
13
- "error",
14
- "fields"
15
- ],
16
- "@typescript-eslint/keyword-spacing": [
17
- "error",
18
- {
19
- "overrides": {
20
- "if": {
21
- "after": false
22
- },
23
- "for": {
24
- "after": false
25
- },
26
- "switch": {
27
- "after": false
28
- },
29
- "while": {
30
- "after": false
31
- }
32
- }
33
- }
34
- ],
35
- "@typescript-eslint/member-ordering": [
36
- "error",
37
- {
38
- "default": [
39
- "field",
40
- "constructor",
41
- "get",
42
- "set",
43
- "method"
44
- ]
45
- }
46
- ],
47
- "@typescript-eslint/naming-convention": [
48
- "error",
49
- {
50
- "selector": "variable",
51
- "modifiers": ["const", "global"],
52
- "format": ["camelCase", "UPPER_CASE"],
53
- "filter": {
54
- "regex": "^(__filename|__dirname)$",
55
- "match": false
56
- }
57
- },
58
- {
59
- "selector": "variable",
60
- "format": ["camelCase"],
61
- "filter": {
62
- "regex": "^(__filename|__dirname)$",
63
- "match": false
64
- }
65
- }
66
- ],
67
- "@typescript-eslint/no-confusing-void-expression": "off",
68
- "@typescript-eslint/no-dynamic-delete": "off",
69
- "@typescript-eslint/no-empty-function": [
70
- "error",
71
- {
72
- "allow": [
73
- "arrowFunctions"
74
- ]
75
- }
76
- ],
77
- "@typescript-eslint/no-inferrable-types": "off",
78
- "@typescript-eslint/no-namespace": "off",
79
- "@typescript-eslint/object-curly-spacing": [
80
- "error",
81
- "always"
82
- ],
83
- "@typescript-eslint/parameter-properties": "off",
84
- "@typescript-eslint/prefer-nullish-coalescing": [
85
- "error",
86
- {
87
- "ignoreConditionalTests": true
88
- }
89
- ],
90
- "@typescript-eslint/prefer-promise-reject-errors": "off",
91
- "@typescript-eslint/return-await": "off",
92
- "arrow-parens": [
93
- "error",
94
- "always"
95
- ],
96
- "capitalized-comments": "off",
97
- "complexity": "off",
98
- "default-case": "off",
99
- "import/extensions": [
100
- "error",
101
- "never"
102
- ],
103
- "import/order": [
104
- "error",
105
- {
106
- "groups": [
107
- "builtin",
108
- "external",
109
- "internal",
110
- "parent",
111
- "sibling",
112
- "index",
113
- "object"
114
- ],
115
- "alphabetize": {
116
- "order": "asc",
117
- "caseInsensitive": true
118
- }
119
- }
120
- ],
121
- "max-depth": [
122
- "error",
123
- 8
124
- ],
125
- "max-params": [
126
- "error",
127
- 12
128
- ],
129
- "no-await-in-loop": "off",
130
- "no-else-return": "off",
131
- "no-lonely-if": "off",
132
- "no-negated-condition": "off",
133
- "object-curly-newline": "off",
134
- "object-shorthand": "off",
135
- "one-var": [
136
- "error",
137
- "never"
138
- ],
139
- "unicorn/empty-brace-spaces": "off",
140
- "unicorn/no-array-callback-reference": "off",
141
- "unicorn/no-length-as-slice-end": "off",
142
- "unicorn/no-object-as-default-parameter": "off",
143
- "unicorn/prefer-json-parse-buffer": "off",
144
- "unicorn/prefer-module": "off",
145
- "unicorn/prefer-node-protocol": "off",
146
- "unicorn/prefer-switch": "off",
147
- "unicorn/prefer-ternary": "off",
148
- "unicorn/prevent-abbreviations": [
149
- "error",
150
- {
151
- "replacements": {
152
- "arg": false,
153
- "args": false,
154
- "dir": false,
155
- "err": false,
156
- "fn": false,
157
- "func": false,
158
- "i": false,
159
- "j": false,
160
- "mod": false,
161
- "num": false,
162
- "pkg": false,
163
- "str": false,
164
- "temp": false
165
- }
166
- }
167
- ]
168
- }
169
- }