@clipboard-health/eslint-config
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -5,2 +5,4 @@ # Changelog | ||
## [2.4.1](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.4.0...eslint-config-2.4.1) (2023-05-11) | ||
## [2.4.0](https://github.com/ClipboardHealth/cbh-core/compare/eslint-config-2.3.0...eslint-config-2.4.0) (2023-05-09) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@clipboard-health/eslint-config", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
"use strict"; | ||
const MESSAGES = { | ||
isFinite: "Please use Number.isFinite instead.", | ||
isNaN: "Please use Number.isNaN instead.", | ||
}; | ||
module.exports = { | ||
@@ -208,3 +212,3 @@ parser: "@typescript-eslint/parser", | ||
property: "isFinite", | ||
message: "Please use Number.isFinite instead", | ||
message: MESSAGES.isFinite, | ||
}, | ||
@@ -214,3 +218,3 @@ { | ||
property: "isFinite", | ||
message: "Please use Number.isFinite instead", | ||
message: MESSAGES.isFinite, | ||
}, | ||
@@ -220,3 +224,3 @@ { | ||
property: "isFinite", | ||
message: "Please use Number.isFinite instead", | ||
message: MESSAGES.isFinite, | ||
}, | ||
@@ -226,3 +230,3 @@ { | ||
property: "isNaN", | ||
message: "Please use Number.isNaN instead", | ||
message: MESSAGES.isNaN, | ||
}, | ||
@@ -232,3 +236,3 @@ { | ||
property: "isNaN", | ||
message: "Please use Number.isNaN instead", | ||
message: MESSAGES.isNaN, | ||
}, | ||
@@ -238,3 +242,3 @@ { | ||
property: "isNaN", | ||
message: "Please use Number.isNaN instead", | ||
message: MESSAGES.isNaN, | ||
}, | ||
@@ -241,0 +245,0 @@ { |
@@ -10,2 +10,3 @@ "use strict"; | ||
"plugin:no-use-extend-native/recommended", | ||
"plugin:sonarjs/recommended", | ||
"plugin:unicorn/recommended", | ||
@@ -21,3 +22,3 @@ "prettier", | ||
}, | ||
plugins: ["jest", "no-only-tests", "simple-import-sort"], | ||
plugins: ["jest", "no-only-tests", "simple-import-sort", "sonarjs"], | ||
rules: { | ||
@@ -24,0 +25,0 @@ "@typescript-eslint/naming-convention": "off", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
42893
631