@socprime/master-configuration 1.0.6 → 1.0.7

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 +12 -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
  ];
@@ -94,6 +101,9 @@ const typescript = [
94
101
  '@typescript-eslint/no-empty-function': 0,
95
102
  '@typescript-eslint/ban-ts-comment': 0,
96
103
  '@typescript-eslint/no-explicit-any': 1,
104
+ '@typescript-eslint/no-var-requires': 1,
105
+ '@typescript-eslint/ban-types': 1,
106
+ 'react-hooks/exhaustive-deps': 1,
97
107
  },
98
108
  plugins: ['@typescript-eslint'],
99
109
  settings: {
@@ -129,7 +139,7 @@ module.exports = {
129
139
  'package-lock.json',
130
140
  'node_modules',
131
141
  'storybook-static',
132
- 'tmp'
142
+ 'tmp',
133
143
  ],
134
144
  overrides: [
135
145
  ...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.7",
4
4
  "author": "Pavel Nedzelskiy <pavlo.nedzelskyi@socprime.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {