eslint-config-beslogic 2.4.9 → 2.4.11

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/README.md CHANGED
@@ -85,7 +85,6 @@ As you'll easily bust the 250MiB limit on the free tier, omit the following depe
85
85
 
86
86
  - `dprint`
87
87
  - `@eslint-community/eslint-plugin-eslint-comments`
88
- - `eslint-plugin-total-functions`
89
88
  - `esling-plugin-no-autofix`
90
89
  - `eslint-plugin-testing-library`
91
90
  - `eslint-plugin-jest-formatting`
package/javascript.js CHANGED
@@ -6,8 +6,7 @@ const {
6
6
  jestNoRestrictedSyntax,
7
7
  jestFilePatterns,
8
8
  resolveModuleLocation,
9
- idLenghtConfig,
10
- isPreCommitCI
9
+ idLenghtConfig
11
10
  } = require(
12
11
  "./lib/utils"
13
12
  )
package/lib/utils.js CHANGED
@@ -1,6 +1,4 @@
1
1
  const isPreCommitCI = __dirname.startsWith("/pc/clone/")
2
- console.log(__dirname)
3
- console.log(__filename)
4
2
 
5
3
  const getModuleVersion = (
6
4
  /** @type {string} */ nodeModule,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-beslogic",
3
- "version": "2.4.9",
3
+ "version": "2.4.11",
4
4
  "description": "ESLint rules, plugins and configs used at Beslogic",
5
5
  "main": "index.js",
6
6
  "// dependencies": "Run for ourselves when we install dependencies w/o running npm i afterward",
package/typescript.js CHANGED
@@ -136,6 +136,10 @@ module.exports = {
136
136
  "total-functions/no-unsafe-type-assertion": hasTotalFunctions
137
137
  ? "warn"
138
138
  : "off",
139
+ // Can be annoying to deal with too, lot's of disable comments needed, which can be problematic with pre-commit.ci
140
+ "total-functions/no-partial-division": hasTotalFunctions
141
+ ? "warn"
142
+ : "off",
139
143
  // False positives with external library
140
144
  // See https://github.com/microsoft/TypeScript/issues/13347 for a request to fix this at the language level
141
145
  "total-functions/no-unsafe-readonly-mutable-assignment": "off",