@socprime/master-configuration 1.0.6 → 1.0.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 +14 -2
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -23,6 +23,13 @@ const javascriptRules = {
23
23
  'import/extensions': 0,
24
24
  'import/no-extraneous-dependencies': 0,
25
25
  'import/no-relative-packages': 0,
26
+ 'no-continue': 1,
27
+ 'import/no-cycle': 1,
28
+ 'class-methods-use-this': 1,
29
+ 'import/no-dynamic-require': 1,
30
+ 'no-restricted-syntax': 1,
31
+ 'no-useless-constructor': 1,
32
+ 'prefer-destructuring': 1,
26
33
  };
27
34
 
28
35
  const html = [
@@ -55,8 +62,8 @@ const json = [
55
62
  {
56
63
  files: ['tsconfig.json', 'package.json'],
57
64
  rules: {
58
- 'jsonc/key-name-casing': 0,
59
65
  'jsonc/sort-keys': 0,
66
+ 'jsonc/key-name-casing': 1,
60
67
  },
61
68
  },
62
69
  ];
@@ -90,10 +97,15 @@ const typescript = [
90
97
  ],
91
98
  rules: {
92
99
  ...javascriptRules,
100
+ indent: 0,
101
+ '@typescript-eslint/indent': ['error', 2],
93
102
  '@typescript-eslint/no-shadow': 1,
94
103
  '@typescript-eslint/no-empty-function': 0,
95
104
  '@typescript-eslint/ban-ts-comment': 0,
96
105
  '@typescript-eslint/no-explicit-any': 1,
106
+ '@typescript-eslint/no-var-requires': 1,
107
+ '@typescript-eslint/ban-types': 1,
108
+ 'react-hooks/exhaustive-deps': 1,
97
109
  },
98
110
  plugins: ['@typescript-eslint'],
99
111
  settings: {
@@ -129,7 +141,7 @@ module.exports = {
129
141
  'package-lock.json',
130
142
  'node_modules',
131
143
  'storybook-static',
132
- 'tmp'
144
+ 'tmp',
133
145
  ],
134
146
  overrides: [
135
147
  ...js,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socprime/master-configuration",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "author": "Pavel Nedzelskiy <pavlo.nedzelskyi@socprime.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {