goblin-gadgets 4.0.17 → 4.0.20
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/eslint.config.js +5 -2
- package/package.json +3 -3
package/eslint.config.js
CHANGED
|
@@ -15,7 +15,10 @@ module.exports = [
|
|
|
15
15
|
languageOptions: {
|
|
16
16
|
parser: babelParser,
|
|
17
17
|
parserOptions: {
|
|
18
|
-
requireConfigFile: false,
|
|
18
|
+
requireConfigFile: false, // Évite de devoir spécifier un fichier de configuration Babel
|
|
19
|
+
babelOptions: {
|
|
20
|
+
presets: ['@babel/preset-react'],
|
|
21
|
+
},
|
|
19
22
|
ecmaFeatures: {
|
|
20
23
|
jsx: true,
|
|
21
24
|
},
|
|
@@ -36,7 +39,7 @@ module.exports = [
|
|
|
36
39
|
'eqeqeq': 'error',
|
|
37
40
|
'no-console': 'off',
|
|
38
41
|
'react/display-name': 'off',
|
|
39
|
-
'@babel/no-unused-expressions': 'error',
|
|
42
|
+
'@babel/no-unused-expressions': 'error', // Utilisation de règles spécifiques à Babel
|
|
40
43
|
'no-unused-vars': [
|
|
41
44
|
'error',
|
|
42
45
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goblin-gadgets",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.20",
|
|
4
4
|
"description": "Gadgets library",
|
|
5
5
|
"main": "./builders/builders.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"goblin-theme": "^2.0.0",
|
|
30
30
|
"goblin-laboratory": "^4.0.0",
|
|
31
31
|
"leaflet": "1.2.0",
|
|
32
|
-
"mocha": "^
|
|
32
|
+
"mocha": "^10.7.3",
|
|
33
33
|
"monaco-editor": "^0.31.1",
|
|
34
34
|
"mousetrap": "^1.6.1",
|
|
35
35
|
"prettier": "2.0.4",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"scroll-into-view-if-needed": "^1.4.0",
|
|
45
45
|
"xcraft-core-shredder": "^5.0.0",
|
|
46
46
|
"xcraft-dev-prettier": "^2.0.0",
|
|
47
|
-
"xcraft-dev-rules": "^4.4.
|
|
47
|
+
"xcraft-dev-rules": "^4.4.2"
|
|
48
48
|
},
|
|
49
49
|
"prettier": "xcraft-dev-prettier"
|
|
50
50
|
}
|