@akinon/eslint-plugin-projectzero 1.82.0-rc.16 → 1.82.0-rc.18

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,9 @@
1
1
  # @akinon/eslint-plugin-projectzero
2
2
 
3
+ ## 1.82.0-rc.18
4
+
5
+ ## 1.82.0-rc.17
6
+
3
7
  ## 1.82.0-rc.16
4
8
 
5
9
  ### Minor Changes
@@ -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.16",
3
+ "version": "1.82.0-rc.18",
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',