penrose 0.2.36 → 0.2.38
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/.eslintrc.cjs +24 -0
- package/.prettierrc.cjs +13 -0
- package/package.json +8 -16
- package/.eslintrc.json +0 -128
- package/.prettierrc +0 -11
package/.eslintrc.cjs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
browser: true,
|
|
5
|
+
jquery: true,
|
|
6
|
+
mocha: true,
|
|
7
|
+
node: true
|
|
8
|
+
},
|
|
9
|
+
plugins: ['prettier'],
|
|
10
|
+
extends: ['eslint:recommended', 'prettier'],
|
|
11
|
+
rules: {
|
|
12
|
+
'no-undef': 'error',
|
|
13
|
+
'no-unsafe-finally': 'error',
|
|
14
|
+
'no-unsafe-negation': 'error',
|
|
15
|
+
'no-unsafe-optional-chaining': 'error',
|
|
16
|
+
'no-var': 'error'
|
|
17
|
+
},
|
|
18
|
+
parser: 'espree',
|
|
19
|
+
parserOptions: {
|
|
20
|
+
ecmaVersion: 2015,
|
|
21
|
+
requireConfigFile: true,
|
|
22
|
+
sourceType: 'module'
|
|
23
|
+
}
|
|
24
|
+
};
|
package/.prettierrc.cjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "penrose",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.38",
|
|
4
4
|
"description": "Build derivative images",
|
|
5
5
|
"main": "lib/penrose.js",
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/netbek/penrose/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@babel/core": "7.
|
|
23
|
+
"@babel/core": "7.22.1",
|
|
24
24
|
"babel-eslint": "10.1.0",
|
|
25
25
|
"babel-loader": "8.3.0",
|
|
26
26
|
"babel-plugin-lodash": "3.3.4",
|
|
@@ -29,18 +29,10 @@
|
|
|
29
29
|
"canonical-json": "0.0.4",
|
|
30
30
|
"chalk": "4.1.2",
|
|
31
31
|
"cheerio": "0.22.0",
|
|
32
|
-
"eslint": "8.
|
|
33
|
-
"eslint-config-
|
|
34
|
-
"eslint-config-prettier": "8.5.0",
|
|
35
|
-
"eslint-plugin-babel": "5.3.1",
|
|
36
|
-
"eslint-plugin-dollar-sign": "1.0.2",
|
|
37
|
-
"eslint-plugin-html": "6.2.0",
|
|
38
|
-
"eslint-plugin-import": "2.26.0",
|
|
39
|
-
"eslint-plugin-jsdoc": "39.6.2",
|
|
40
|
-
"eslint-plugin-jsx-a11y": "6.6.1",
|
|
41
|
-
"eslint-plugin-markdown": "2.2.1",
|
|
32
|
+
"eslint": "8.41.0",
|
|
33
|
+
"eslint-config-prettier": "8.8.0",
|
|
42
34
|
"eslint-plugin-prettier": "4.2.1",
|
|
43
|
-
"
|
|
35
|
+
"espree": "9.5.2",
|
|
44
36
|
"fs-extra": "10.1.0",
|
|
45
37
|
"glob": "7.2.3",
|
|
46
38
|
"glob-promise": "4.2.2",
|
|
@@ -49,12 +41,12 @@
|
|
|
49
41
|
"mathjax": "2.7.9",
|
|
50
42
|
"mathjax-node": "0.5.2",
|
|
51
43
|
"phantomjs-prebuilt": "2.1.16",
|
|
52
|
-
"prettier": "2.
|
|
44
|
+
"prettier": "2.8.8",
|
|
53
45
|
"replace-ext": "2.0.0",
|
|
54
|
-
"sharp": "0.
|
|
46
|
+
"sharp": "0.32.1"
|
|
55
47
|
},
|
|
56
48
|
"devDependencies": {
|
|
57
|
-
"chai": "4.3.
|
|
49
|
+
"chai": "4.3.7",
|
|
58
50
|
"chai-as-promised": "7.1.1",
|
|
59
51
|
"mocha": "9.2.2"
|
|
60
52
|
}
|
package/.eslintrc.json
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"env": {
|
|
4
|
-
"amd": true,
|
|
5
|
-
"browser": true,
|
|
6
|
-
"es6": true,
|
|
7
|
-
"jquery": true,
|
|
8
|
-
"mocha": true,
|
|
9
|
-
"node": true
|
|
10
|
-
},
|
|
11
|
-
"plugins": [
|
|
12
|
-
"dollar-sign",
|
|
13
|
-
"html",
|
|
14
|
-
"jsdoc",
|
|
15
|
-
"jsx-a11y",
|
|
16
|
-
"markdown",
|
|
17
|
-
"prettier",
|
|
18
|
-
"react"
|
|
19
|
-
],
|
|
20
|
-
"extends": [
|
|
21
|
-
"eslint:recommended",
|
|
22
|
-
"plugin:react/recommended",
|
|
23
|
-
"plugin:jsx-a11y/recommended",
|
|
24
|
-
"airbnb",
|
|
25
|
-
"prettier"
|
|
26
|
-
],
|
|
27
|
-
"rules": {
|
|
28
|
-
"class-methods-use-this": 0,
|
|
29
|
-
"comma-dangle": ["error", "never"],
|
|
30
|
-
"default-case": 0,
|
|
31
|
-
"dollar-sign/dollar-sign": [2, "ignoreProperties"],
|
|
32
|
-
"func-names": 0,
|
|
33
|
-
"import/extensions": 0,
|
|
34
|
-
"import/newline-after-import": 0,
|
|
35
|
-
"import/no-dynamic-require": 0,
|
|
36
|
-
"import/no-extraneous-dependencies": 0,
|
|
37
|
-
"import/no-unresolved": 0,
|
|
38
|
-
"import/prefer-default-export": 0,
|
|
39
|
-
"indent": [
|
|
40
|
-
"error",
|
|
41
|
-
2,
|
|
42
|
-
{
|
|
43
|
-
"SwitchCase": 1
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"jsdoc/check-param-names": 1,
|
|
47
|
-
"jsdoc/check-tag-names": 1,
|
|
48
|
-
"jsdoc/check-types": 1,
|
|
49
|
-
"jsdoc/newline-after-description": 1,
|
|
50
|
-
"jsdoc/require-description-complete-sentence": 0,
|
|
51
|
-
"jsdoc/require-hyphen-before-param-description": 1,
|
|
52
|
-
"jsdoc/require-param": 1,
|
|
53
|
-
"jsdoc/require-param-description": 0,
|
|
54
|
-
"jsdoc/require-param-type": 1,
|
|
55
|
-
"jsdoc/require-returns-description": 0,
|
|
56
|
-
"jsdoc/require-returns-type": 1,
|
|
57
|
-
"jsx-quotes": ["error", "prefer-double"],
|
|
58
|
-
"newline-per-chained-call": [
|
|
59
|
-
"error",
|
|
60
|
-
{
|
|
61
|
-
"ignoreChainWithDepth": 2
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"no-bitwise": [
|
|
65
|
-
"error",
|
|
66
|
-
{
|
|
67
|
-
"allow": ["~"]
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"no-plusplus": [
|
|
71
|
-
"error",
|
|
72
|
-
{
|
|
73
|
-
"allowForLoopAfterthoughts": true
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"no-underscore-dangle": 0,
|
|
77
|
-
"no-var": 0,
|
|
78
|
-
"object-shorthand": ["error", "consistent"],
|
|
79
|
-
"one-var": ["error", "never"],
|
|
80
|
-
"prefer-arrow-callback": 0,
|
|
81
|
-
"prefer-template": 0,
|
|
82
|
-
"prettier/prettier": [
|
|
83
|
-
"error",
|
|
84
|
-
{
|
|
85
|
-
"singleQuote": true,
|
|
86
|
-
"bracketSpacing": false
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"react/forbid-prop-types": [
|
|
90
|
-
"error",
|
|
91
|
-
{
|
|
92
|
-
"forbid": ["any", "array"]
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"react/jsx-boolean-value": ["error", "never"],
|
|
96
|
-
"react/jsx-closing-bracket-location": ["error", "line-aligned"],
|
|
97
|
-
"react/jsx-curly-spacing": [
|
|
98
|
-
"error",
|
|
99
|
-
"never",
|
|
100
|
-
{
|
|
101
|
-
"allowMultiline": true
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"react/jsx-pascal-case": [
|
|
105
|
-
"error",
|
|
106
|
-
{
|
|
107
|
-
"allowAllCaps": true,
|
|
108
|
-
"ignore": []
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"react/jsx-tag-spacing": [
|
|
112
|
-
"error",
|
|
113
|
-
{
|
|
114
|
-
"closingSlash": "never",
|
|
115
|
-
"beforeSelfClosing": "allow",
|
|
116
|
-
"afterOpening": "never"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"react/no-array-index-key": "error",
|
|
120
|
-
"react/no-unused-prop-types": 0,
|
|
121
|
-
"react/prefer-stateless-function": 0,
|
|
122
|
-
"vars-on-top": 0
|
|
123
|
-
},
|
|
124
|
-
"parser": "babel-eslint",
|
|
125
|
-
"parserOptions": {
|
|
126
|
-
"sourceType": "module"
|
|
127
|
-
}
|
|
128
|
-
}
|