eslint-plugin-big-number-rules
elephize
Our great sponsors
eslint-plugin-big-number-rules | elephize | |
---|---|---|
4 | 1 | |
12 | 31 | |
- | - | |
3.0 | 5.4 | |
5 days ago | 26 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eslint-plugin-big-number-rules
-
eslint-plugin-big-number-rules: Enforce finance-safe calculations (helps 0.1 + 0.2 really equal 0.3)
And they did bite me, so I wrote this eslint plugin to help out a FinTech app that was experiencing a number of such bugs.
-
Speeding up the JavaScript ecosystem - one library at a time
Either avoid floating-point, perhaps using BigInt, or use a library like BigNumber.js. (Incidentally, I wrote an eslint plugin to enforce its use.)
-
[AskJS] How do you deal with floats in production apps?
I wrote an eslint plugin for it.
-
Become the master of your eslint with no-restricted-syntax
For example, say you want to avoid using native arithmetic in your finance calculations to avoid the infamous binary-floating-point problems. There's no way to get standard.js to warn you about that. But (warning: self promotion) an eslint plugin can be written to do that for you. :)
elephize
-
Become the master of your eslint with no-restricted-syntax
Now we can also typescript to PHP using this elephize thing
What are some alternatives?
eslint-plugin-simple-import-sort - Easy autofixable import sorting.
qodana-action - ⚙️ Scan your Go, Java, Kotlin, PHP, Python, JavaScript, TypeScript, .NET projects at GitHub with Qodana. This repository contains Qodana for Azure, GitHub, CircleCI and Gradle
bignumber.js - A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic
zce - 🎓 Zend Certified PHP Engineer Certification (free training application)
proposal-decimal - Built-in decimal datatype in JavaScript
TypeScriptToLua - Typescript to lua transpiler. https://typescripttolua.github.io/
kphp - KPHP — a PHP compiler
break_eternity.js - A Javascript numerical library to represent numbers as large as 10^^1e308 and as small as 10^-10^^1e308. Sequel to break_infinity.js, designed for incremental games.
decimal.js - An arbitrary-precision Decimal type for JavaScript
dinero.js - Create, calculate, and format money in JavaScript and TypeScript.
Mida - A JavaScript framework to easily operate in global financial markets.