@chronicle.app/eslint-config 0.3.0 → 0.5.0

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/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -30,8 +30,10 @@ module.exports = {
30
30
  '*.tsbuildinfo',
31
31
  ],
32
32
  rules: {
33
+ // Say things through a logger from @chronicle.app/logging, so the host's
34
+ // sink decides where they go. Scripts and tests are exempt below.
35
+ 'no-console': 'error',
33
36
  // Relaxed rules for gradual adoption
34
- 'no-console': 'warn',
35
37
  'no-unused-vars': 'off', // Disable base rule in favor of TypeScript version
36
38
  '@typescript-eslint/no-unused-vars': [
37
39
  'warn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chronicle.app/eslint-config",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Shared ESLint configuration for Chronicle packages",
5
5
  "main": "index.js",
6
6
  "files": [