Port SMPP definitions: constants, errors, encodings and wire types

This commit is contained in:
2026-08-25 16:07:34 +02:00
parent 16c935bb18
commit 854c89f609
7 changed files with 915 additions and 3 deletions
+10
View File
@@ -15,10 +15,20 @@ export default tseslint.config(
},
rules: {
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
'@typescript-eslint/no-floating-promises': ['error', {
allowForKnownSafeCalls: [
{ from: 'package', name: ['describe', 'it', 'test'], package: 'node:test' },
],
}],
'@typescript-eslint/no-non-null-assertion': 'error',
'no-console': 'error',
},
},
{
// ESC (0x1B) is the GSM 03.38 escape character, so it belongs in these patterns.
files: ['src/defs/encodings.ts'],
rules: { 'no-control-regex': 'off' },
},
{
files: ['eslint.config.js'],
extends: [tseslint.configs.disableTypeChecked],