Skip to content

Commit e892a6f

Browse files
committed
feat: upgrade cli to newest oclif version copied from @FreakIsTea
1 parent 10fe745 commit e892a6f

40 files changed

Lines changed: 4811 additions & 5289 deletions

.eslintrc.js

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ module.exports = {
55
files: ['webapp/app/**/*', 'webapp/tests/**/*', 'webapp/types/**/*'],
66
parser: '@typescript-eslint/parser',
77
parserOptions: {
8-
project: './webapp/tsconfig.json'
8+
project: './webapp/tsconfig.json',
99
},
1010
plugins: ['@typescript-eslint', 'ember', 'mirego'],
1111
extends: [
1212
'eslint:recommended',
1313
'plugin:mirego/recommended',
1414
'plugin:@typescript-eslint/recommended',
15-
'prettier'
15+
'prettier',
1616
],
1717
env: {
1818
es6: true,
19-
browser: true
19+
browser: true,
2020
},
2121
globals: {
22-
JsDiff: true
22+
JsDiff: true,
2323
},
2424
rules: {
25-
'complexity': 0,
25+
complexity: 0,
2626
'no-irregular-whitespace': 0,
2727
'ember/closure-actions': 2,
2828
'ember/named-functions-in-promises': 0,
@@ -42,21 +42,21 @@ module.exports = {
4242
'@typescript-eslint/await-thenable': 2,
4343
'@typescript-eslint/consistent-type-assertions': [
4444
2,
45-
{assertionStyle: 'as'}
45+
{assertionStyle: 'as'},
4646
],
4747
'@typescript-eslint/consistent-type-definitions': [2, 'interface'],
4848
'@typescript-eslint/member-delimiter-style': [
4949
2,
5050
{
5151
multiline: {
5252
delimiter: 'semi',
53-
requireLast: true
53+
requireLast: true,
5454
},
5555
singleline: {
5656
delimiter: 'semi',
57-
requireLast: false
58-
}
59-
}
57+
requireLast: false,
58+
},
59+
},
6060
],
6161
'@typescript-eslint/member-ordering': 0,
6262
'@typescript-eslint/no-empty-interface': 2,
@@ -65,7 +65,7 @@ module.exports = {
6565
'@typescript-eslint/no-misused-new': 2,
6666
'@typescript-eslint/no-misused-promises': 2,
6767
'@typescript-eslint/no-non-null-assertion': 2,
68-
'@typescript-eslint/no-parameter-properties': 2,
68+
'@typescript-eslint/parameter-properties': 2,
6969
'@typescript-eslint/no-require-imports': 2,
7070
'@typescript-eslint/no-unnecessary-type-assertion': 2,
7171
'@typescript-eslint/no-unused-vars': 2,
@@ -75,7 +75,7 @@ module.exports = {
7575
'@typescript-eslint/unified-signatures': 2,
7676
'no-unused-vars': 0,
7777
'no-invalid-this': 0,
78-
}
78+
},
7979
},
8080
{
8181
files: [
@@ -87,37 +87,37 @@ module.exports = {
8787
'webapp/config/**/*.js',
8888
'webapp/lib/*/index.js',
8989
'webapp/scripts/**/*.js',
90-
'webapp/node-server/**/*.js'
90+
'webapp/node-server/**/*.js',
9191
],
9292
parserOptions: {
9393
sourceType: 'script',
94-
ecmaVersion: 2015
94+
ecmaVersion: 2015,
9595
},
9696
env: {
9797
browser: false,
98-
node: true
98+
node: true,
9999
},
100100
plugins: ['node'],
101101
rules: {
102102
'@typescript-eslint/no-require-imports': 0,
103103

104104
// this can be removed once the following is fixed
105105
// https://github.com/mysticatea/eslint-plugin-node/issues/77
106-
'node/no-unpublished-require': 'off'
106+
'node/no-unpublished-require': 'off',
107107
},
108-
extends: ['plugin:node/recommended']
108+
extends: ['plugin:node/recommended'],
109109
},
110110
{
111111
files: ['cli/**/*'],
112112
env: {
113-
es6: true
113+
es6: true,
114114
},
115115
globals: {
116-
process: true
116+
process: true,
117117
},
118118
parser: '@typescript-eslint/parser',
119119
parserOptions: {
120-
project: './cli/tsconfig.json'
120+
project: './cli/tsconfig.json',
121121
},
122122
plugins: ['@typescript-eslint', 'mirego'],
123123
extends: [
@@ -127,7 +127,7 @@ module.exports = {
127127
'prettier',
128128
],
129129
rules: {
130-
'complexity': 0,
130+
complexity: 0,
131131
'no-irregular-whitespace': 0,
132132
'no-unused-vars': 0,
133133
'no-console': 0,
@@ -137,21 +137,21 @@ module.exports = {
137137
'@typescript-eslint/await-thenable': 2,
138138
'@typescript-eslint/consistent-type-assertions': [
139139
2,
140-
{assertionStyle: 'as'}
140+
{assertionStyle: 'as'},
141141
],
142142
'@typescript-eslint/consistent-type-definitions': [2, 'interface'],
143143
'@typescript-eslint/member-delimiter-style': [
144144
2,
145145
{
146146
multiline: {
147147
delimiter: 'semi',
148-
requireLast: true
148+
requireLast: true,
149149
},
150150
singleline: {
151151
delimiter: 'semi',
152-
requireLast: false
153-
}
154-
}
152+
requireLast: false,
153+
},
154+
},
155155
],
156156
'@typescript-eslint/member-ordering': 2,
157157
'@typescript-eslint/no-empty-interface': 2,
@@ -160,24 +160,24 @@ module.exports = {
160160
'@typescript-eslint/no-misused-new': 2,
161161
'@typescript-eslint/no-misused-promises': 2,
162162
'@typescript-eslint/no-non-null-assertion': 0,
163-
'@typescript-eslint/no-parameter-properties': 2,
163+
'@typescript-eslint/parameter-properties': 2,
164164
'@typescript-eslint/no-require-imports': 2,
165165
'@typescript-eslint/no-unnecessary-type-assertion': 2,
166166
'@typescript-eslint/no-unused-vars': 2,
167167
'@typescript-eslint/promise-function-async': 2,
168168
'@typescript-eslint/require-await': 2,
169169
'@typescript-eslint/type-annotation-spacing': 2,
170170
'@typescript-eslint/unified-signatures': 2,
171-
}
171+
},
172172
},
173173
{
174174
files: ['jipt/**/*'],
175175
env: {
176-
es6: true
176+
es6: true,
177177
},
178178
parser: '@typescript-eslint/parser',
179179
parserOptions: {
180-
project: './jipt/tsconfig.json'
180+
project: './jipt/tsconfig.json',
181181
},
182182
plugins: ['@typescript-eslint', 'mirego'],
183183
extends: [
@@ -187,29 +187,29 @@ module.exports = {
187187
'prettier',
188188
],
189189
rules: {
190-
'complexity': 0,
190+
complexity: 0,
191191
'no-irregular-whitespace': 0,
192192
'no-unused-vars': 0,
193193
'@typescript-eslint/adjacent-overload-signatures': 2,
194194
'@typescript-eslint/array-type': [2, {default: 'array-simple'}],
195195
'@typescript-eslint/await-thenable': 2,
196196
'@typescript-eslint/consistent-type-assertions': [
197197
2,
198-
{assertionStyle: 'as'}
198+
{assertionStyle: 'as'},
199199
],
200200
'@typescript-eslint/consistent-type-definitions': [2, 'interface'],
201201
'@typescript-eslint/member-delimiter-style': [
202202
2,
203203
{
204204
multiline: {
205205
delimiter: 'semi',
206-
requireLast: true
206+
requireLast: true,
207207
},
208208
singleline: {
209209
delimiter: 'semi',
210-
requireLast: false
211-
}
212-
}
210+
requireLast: false,
211+
},
212+
},
213213
],
214214
'@typescript-eslint/member-ordering': 2,
215215
'@typescript-eslint/no-empty-interface': 2,
@@ -218,15 +218,15 @@ module.exports = {
218218
'@typescript-eslint/no-misused-new': 2,
219219
'@typescript-eslint/no-misused-promises': 2,
220220
'@typescript-eslint/no-non-null-assertion': 2,
221-
'@typescript-eslint/no-parameter-properties': 2,
221+
'@typescript-eslint/parameter-properties': 2,
222222
'@typescript-eslint/no-require-imports': 2,
223223
'@typescript-eslint/no-unnecessary-type-assertion': 2,
224224
'@typescript-eslint/promise-function-async': 2,
225225
'@typescript-eslint/require-await': 2,
226226
'@typescript-eslint/type-annotation-spacing': 2,
227227
'@typescript-eslint/unified-signatures': 2,
228-
'@typescript-eslint/no-unused-vars': 2
229-
}
230-
}
231-
]
228+
'@typescript-eslint/no-unused-vars': 2,
229+
},
230+
},
231+
],
232232
};

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
elixir 1.18.1-otp-27
22
erlang 27.0
3-
nodejs 21.6.1
3+
nodejs 22.18.0

0 commit comments

Comments
 (0)