@itcase/lint 1.0.15 → 1.0.17

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/eslint/index.js CHANGED
@@ -41,8 +41,12 @@ const eslintConfig = [
41
41
  // @typescript-eslint
42
42
  '@typescript-eslint/ban-ts-comment': 'off',
43
43
  '@typescript-eslint/no-explicit-any': 'off',
44
+ <<<<<<< HEAD
44
45
  // Sometimes you need an empty one, for example when extends
45
46
  '@typescript-eslint/no-empty-object-type': 'off',
47
+ =======
48
+ "@typescript-eslint/no-unused-expressions": 'off',
49
+ >>>>>>> develop
46
50
 
47
51
  // react
48
52
  // TODO: make rule "react/prop-types" as error only for JS(x) files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {
@@ -71,12 +71,6 @@ export default {
71
71
  ignoreTypes: ['/^/'],
72
72
  },
73
73
  ],
74
- 'function-no-unknown': [
75
- true,
76
- {
77
- ignoreFunctions: ['fluid'],
78
- },
79
- ],
80
74
  'shorthand-property-no-redundant-values': null,
81
75
  'order/order': [
82
76
  [
@@ -201,7 +195,7 @@ export default {
201
195
  '^([a-z]+)([A-Z]?[a-z]+)+$',
202
196
  { message: 'Expected keyframe name to be camelCase' },
203
197
  ],
204
- 'function-no-unknown': [true, { ignoreFunctions: ['$'] }],
198
+ 'function-no-unknown': [true, { ignoreFunctions: ['$', 'fluid'] }],
205
199
  'at-rule-no-unknown': [
206
200
  true,
207
201
  {