Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution of null allocation and type ambiguity issues #3

Merged
merged 13 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/node_modules/
/.idea/
/dist/
/outdocs/
package-lock.json
22 changes: 22 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import js from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
js.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
{
files: ["src/**/*.ts"],
// these are overriding good style for now to reduce the error count - the intention is to reintroduce gradually
rules : {
"prefer-const": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-inferrable-types": "off",
"no-array-constructor": "off", // see https://typescript-eslint.io/rules/no-array-constructor/
"@typescript-eslint/no-array-constructor": "off"
}
}


);
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,20 @@
},
"homepage": "https://github.com/tsastro/tsofa#readme",
"devDependencies": {
"@eslint/js": "^9.9.1",
"@types/node": "^20.7.1",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.49.0",
"eslint": "^9.9.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^46.8.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"globals": "^15.9.0",
"testyts": "^1.5.0",
"ts-node": "^10.9.1",
"typedoc": "^0.25.6",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"typescript-eslint": "^8.3.0"
},
"dependencies": {}
}
270 changes: 141 additions & 129 deletions src/main/ts/TSOFA.ts

Large diffs are not rendered by default.

255 changes: 110 additions & 145 deletions src/test/ts/TSOFATest.spec.ts

Large diffs are not rendered by default.

Loading
Loading