@akinon/eslint-plugin-projectzero 1.82.0-rc.15 → 1.82.0-rc.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @akinon/eslint-plugin-projectzero
2
2
 
3
+ ## 1.82.0-rc.17
4
+
5
+ ## 1.82.0-rc.16
6
+
7
+ ### Minor Changes
8
+
9
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
10
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
11
+ - 443ea19: ZERO-3254: Add ESLint rule to enforce correct order of pre-order middlewares
12
+
3
13
  ## 1.82.0-rc.15
4
14
 
5
15
  ## 1.82.0-rc.14
@@ -33,15 +33,6 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
33
33
  }
34
34
  }
35
35
  }
36
- if (key === 'tracesSampleRate') {
37
- const traceRate = property.value.value;
38
- if (traceRate !== 1.0) {
39
- context.report({
40
- node: property,
41
- messageId: 'incorrectTraceRate'
42
- });
43
- }
44
- }
45
36
  }
46
37
  });
47
38
  }
@@ -51,8 +42,7 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
51
42
  },
52
43
  meta: {
53
44
  messages: {
54
- invalidDsn: 'Sentry DSN should not be empty.',
55
- incorrectTraceRate: 'Sentry tracesSampleRate should be set to 1.0.'
45
+ invalidDsn: 'Sentry DSN should not be empty.'
56
46
  },
57
47
  type: 'problem',
58
48
  fixable: 'code',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/eslint-plugin-projectzero",
3
- "version": "1.82.0-rc.15",
3
+ "version": "1.82.0-rc.17",
4
4
  "private": false,
5
5
  "description": "ESLint plugin for Project Zero Next",
6
6
  "main": "dist/index.js",
@@ -42,16 +42,6 @@ export default ESLintUtils.RuleCreator.withoutDocs({
42
42
  }
43
43
  }
44
44
  }
45
-
46
- if (key === 'tracesSampleRate') {
47
- const traceRate = (property.value as TSESTree.Literal).value;
48
- if (traceRate !== 1.0) {
49
- context.report({
50
- node: property,
51
- messageId: 'incorrectTraceRate'
52
- });
53
- }
54
- }
55
45
  }
56
46
  });
57
47
  }
@@ -61,8 +51,7 @@ export default ESLintUtils.RuleCreator.withoutDocs({
61
51
  },
62
52
  meta: {
63
53
  messages: {
64
- invalidDsn: 'Sentry DSN should not be empty.',
65
- incorrectTraceRate: 'Sentry tracesSampleRate should be set to 1.0.'
54
+ invalidDsn: 'Sentry DSN should not be empty.'
66
55
  },
67
56
  type: 'problem',
68
57
  fixable: 'code',