eslint-config-instant 2.0.1 → 2.1.1
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/backend.js +2 -11
- package/package.json +6 -2
package/backend.js
CHANGED
|
@@ -22,14 +22,6 @@ module.exports = {
|
|
|
22
22
|
},
|
|
23
23
|
settings: {
|
|
24
24
|
'import/resolver': {
|
|
25
|
-
alias: {
|
|
26
|
-
map: [
|
|
27
|
-
['@module', './src/modules'],
|
|
28
|
-
['@common', './src/common'],
|
|
29
|
-
['@util', './src/util'],
|
|
30
|
-
],
|
|
31
|
-
extensions: ['.js', '.ts'],
|
|
32
|
-
},
|
|
33
25
|
node: {
|
|
34
26
|
extensions: ['.js', '.ts'],
|
|
35
27
|
},
|
|
@@ -52,6 +44,7 @@ module.exports = {
|
|
|
52
44
|
svg: 'always',
|
|
53
45
|
},
|
|
54
46
|
],
|
|
47
|
+
'import/newline-after-import': ['error', { considerComments: true }],
|
|
55
48
|
'import/no-extraneous-dependencies': [
|
|
56
49
|
'error',
|
|
57
50
|
{
|
|
@@ -79,7 +72,6 @@ module.exports = {
|
|
|
79
72
|
'spaced-comment': 'error',
|
|
80
73
|
// default case in a switch needs to be last
|
|
81
74
|
'default-case-last': 'error',
|
|
82
|
-
|
|
83
75
|
'import/order': [
|
|
84
76
|
'error',
|
|
85
77
|
{
|
|
@@ -108,7 +100,6 @@ module.exports = {
|
|
|
108
100
|
pathGroupsExcludedImportTypes: [],
|
|
109
101
|
},
|
|
110
102
|
],
|
|
111
|
-
|
|
112
103
|
'prettier/prettier': [
|
|
113
104
|
'error',
|
|
114
105
|
{
|
|
@@ -116,7 +107,7 @@ module.exports = {
|
|
|
116
107
|
semi: true,
|
|
117
108
|
singleQuote: true,
|
|
118
109
|
tabWidth: 2,
|
|
119
|
-
trailingComma: '
|
|
110
|
+
trailingComma: 'all',
|
|
120
111
|
useTabs: true,
|
|
121
112
|
arrowParens: 'avoid',
|
|
122
113
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-instant",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/instantcommerce/eslint-config-instant"
|
|
7
|
+
},
|
|
4
8
|
"main": "index.js",
|
|
5
9
|
"files": [
|
|
6
10
|
"index.js",
|
|
@@ -40,7 +44,7 @@
|
|
|
40
44
|
"eslint-plugin-react": "7.30.0",
|
|
41
45
|
"eslint-plugin-react-hooks": "4.5.0",
|
|
42
46
|
"prettier": "2.6.2",
|
|
43
|
-
"semantic-release": "
|
|
47
|
+
"semantic-release": "21.0.2",
|
|
44
48
|
"typescript": "4.7.3"
|
|
45
49
|
},
|
|
46
50
|
"license": "MIT",
|