@eclipse-glsp/eslint-config 2.8.0-next.16 → 2.8.0-next.18

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/configs/base.js CHANGED
@@ -3,7 +3,6 @@ const tseslint = require('typescript-eslint');
3
3
  const importX = require('eslint-plugin-import-x');
4
4
  const header = require('@tony.ganchev/eslint-plugin-header');
5
5
  const noNull = require('eslint-plugin-no-null');
6
- const chaiFriendly = require('eslint-plugin-chai-friendly');
7
6
  const stylistic = require('@stylistic/eslint-plugin');
8
7
  const globals = require('globals');
9
8
 
@@ -22,14 +21,12 @@ module.exports = [
22
21
  },
23
22
  globals: {
24
23
  ...globals.browser,
25
- ...globals.mocha,
26
24
  ...globals.es2015
27
25
  }
28
26
  },
29
27
  plugins: {
30
28
  header: header,
31
29
  'no-null': noNull,
32
- 'chai-friendly': chaiFriendly,
33
30
  '@stylistic': stylistic
34
31
  }
35
32
  }
package/configs/errors.js CHANGED
@@ -75,9 +75,7 @@ module.exports = [
75
75
  'import-x/export': 'off', // we have multiple exports due to namespaces, enums and classes that share the same name
76
76
  // eslint-plugin-no-null
77
77
  'no-null/no-null': 'error',
78
- // chai friendly
79
- 'no-unused-expressions': 'off',
80
- 'chai-friendly/no-unused-expressions': [
78
+ 'no-unused-expressions': [
81
79
  'error',
82
80
  {
83
81
  allowShortCircuit: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/eslint-config",
3
- "version": "2.8.0-next.16",
3
+ "version": "2.8.0-next.18",
4
4
  "description": "Shared ESLint configuration for GLSP projects",
5
5
  "keywords": [
6
6
  "eclipse",
@@ -38,7 +38,6 @@
38
38
  "eslint": "^10.5.0",
39
39
  "eslint-config-prettier": "^10.0.0",
40
40
  "eslint-import-resolver-typescript": "^4.0.0",
41
- "eslint-plugin-chai-friendly": "^1.0.0",
42
41
  "eslint-plugin-import-x": "^4.16.2",
43
42
  "eslint-plugin-no-null": "^1.0.2",
44
43
  "globals": "^17.6.0",