@socprime/master-configuration 1.1.6 → 1.1.8

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/.eslintrc.js +15 -2
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -27,6 +27,7 @@ const javascriptRules = {
27
27
  'prefer-destructuring': 1,
28
28
  camelcase: 1,
29
29
  'class-methods-use-this': 1,
30
+ 'consistent-return': 1,
30
31
 
31
32
  'import/order': 0,
32
33
  'import/no-unresolved': 1,
@@ -54,7 +55,7 @@ const json = [
54
55
  files: ['tsconfig.json', 'package.json'],
55
56
  rules: {
56
57
  'jsonc/sort-keys': 0,
57
- 'jsonc/key-name-casing': 1,
58
+ 'jsonc/key-name-casing': 0,
58
59
  },
59
60
  },
60
61
  ];
@@ -89,6 +90,8 @@ const typescript = [
89
90
  rules: {
90
91
  ...javascriptRules,
91
92
  indent: 0,
93
+ '@typescript-eslint/no-duplicate-enum-values': 0,
94
+ '@typescript-eslint/no-empty-object-type': 1,
92
95
  '@typescript-eslint/no-shadow': 1,
93
96
  '@typescript-eslint/no-empty-function': 0,
94
97
  '@typescript-eslint/ban-ts-comment': 0,
@@ -114,7 +117,7 @@ const typescript = [
114
117
  },
115
118
  ];
116
119
 
117
- module.exports = {
120
+ const base = {
118
121
  root: true,
119
122
  env: {
120
123
  browser: true,
@@ -136,6 +139,16 @@ module.exports = {
136
139
  'storybook-static',
137
140
  'tmp',
138
141
  ],
142
+ };
143
+
144
+ module.exports = {
145
+ ...base,
146
+ [Symbol('base')]: base,
147
+ [Symbol('js')]: js,
148
+ [Symbol('typescript')]: typescript,
149
+ [Symbol('json')]: json,
150
+ [Symbol('extendAirBnBRules')]: extendAirBnBRules,
151
+ [Symbol('javascriptRules')]: javascriptRules,
139
152
  overrides: [
140
153
  ...js,
141
154
  ...typescript,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socprime/master-configuration",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "author": "Pavel Nedzelskiy <pavlo.nedzelskyi@socprime.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {