eslint-config-instant 2.0.1 → 2.1.0

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.
Files changed (2) hide show
  1. package/backend.js +2 -11
  2. package/package.json +5 -1
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: 'none',
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.0.1",
3
+ "version": "2.1.0",
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",