Skip to content

Commit d90401b

Browse files
authored
Merge pull request #51 from CodinGame/use-languageclient-final-version
Use language-client final version
2 parents 0e95a6f + afeb4b0 commit d90401b

File tree

9 files changed

+448
-1753
lines changed

9 files changed

+448
-1753
lines changed

.eslintrc.js

Lines changed: 5 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -5,104 +5,15 @@ module.exports = {
55
jest: true
66
},
77
extends: [
8-
'standard'
8+
'@codingame'
99
],
10-
globals: {
11-
Atomics: 'readonly',
12-
SharedArrayBuffer: 'readonly'
13-
},
14-
parser: '@typescript-eslint/parser',
15-
parserOptions: {
16-
ecmaVersion: 2018,
17-
sourceType: 'module',
18-
project: './tsconfig.json'
19-
},
2010
plugins: [
2111
'@typescript-eslint',
22-
'unused-imports'
12+
'unused-imports',
13+
'import',
14+
'jest'
2315
],
2416
rules: {
25-
'@typescript-eslint/member-delimiter-style': [
26-
'error',
27-
{
28-
multiline: {
29-
delimiter: 'none'
30-
},
31-
singleline: {
32-
delimiter: 'comma'
33-
}
34-
}
35-
],
36-
'@typescript-eslint/no-misused-promises': [
37-
'error',
38-
{ checksVoidReturn: false }
39-
],
40-
'no-unused-vars': 'off',
41-
'@typescript-eslint/no-unused-vars': ['warn', { ignoreRestSiblings: true }],
42-
'no-use-before-define': 'off',
43-
'@typescript-eslint/no-use-before-define': [
44-
'error',
45-
{
46-
functions: false,
47-
classes: false,
48-
variables: false
49-
}
50-
],
51-
'@typescript-eslint/no-useless-constructor': 'error',
52-
'@typescript-eslint/type-annotation-spacing': 'error',
53-
'import/named': 'off',
54-
'import/namespace': 'off',
55-
'import/no-unresolved': 'off',
56-
'import/order': [
57-
'warn',
58-
{
59-
groups: ['unknown', 'external', 'internal', 'builtin', 'index', 'sibling', 'parent'],
60-
'newlines-between': 'never'
61-
}
62-
],
63-
'no-console': ['warn', { allow: ['warn', 'error', 'debug', 'info'] }],
64-
'no-useless-constructor': 'off',
65-
'unused-imports/no-unused-imports': 'warn',
66-
'no-redeclare': 'off',
67-
'@typescript-eslint/no-redeclare': ['error'],
68-
'@typescript-eslint/no-unnecessary-condition': 'warn',
69-
'@typescript-eslint/explicit-module-boundary-types': [
70-
'warn',
71-
{
72-
allowArgumentsExplicitlyTypedAsAny: true
73-
}
74-
],
75-
semi: 'off',
76-
'@typescript-eslint/semi': [
77-
'error', 'never'
78-
],
79-
'eslint/no-extra-semi': 'off',
80-
'@typescript-eslint/no-extra-semi': [
81-
'warn'
82-
],
83-
'@typescript-eslint/strict-boolean-expressions': [
84-
'warn',
85-
{
86-
allowString: false,
87-
allowNumber: false,
88-
allowNullableObject: false
89-
}
90-
],
91-
'@typescript-eslint/no-explicit-any': [
92-
'error',
93-
{
94-
ignoreRestArgs: true
95-
}
96-
],
97-
'@typescript-eslint/no-unnecessary-type-assertion': ['error'],
98-
'@typescript-eslint/no-floating-promises': [
99-
'error'
100-
],
101-
'no-void': [
102-
'error',
103-
{
104-
allowAsStatement: true
105-
}
106-
]
17+
'no-console': ['warn', { allow: ['warn', 'error', 'debug', 'info'] }]
10718
}
10819
}

.github/workflows/check_build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Check build
2-
on: [push]
2+
on:
3+
push:
4+
branches-ignore:
5+
- main
36

47
jobs:
58
check:

0 commit comments

Comments
 (0)