sat-wait 0.1.6 → 0.2.0

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.
@@ -0,0 +1,9 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npm run tsc:esm:*)",
5
+ "Bash(npm run tsc:cjs:*)",
6
+ "Bash(npm test:*)"
7
+ ]
8
+ }
9
+ }
package/.oxlintrc.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
3
+ "plugins": ["typescript", "unicorn", "oxc", "promise", "jest", "jsdoc"],
4
+ "categories": {
5
+ "correctness": "error",
6
+ "suspicious": "warn"
7
+ },
8
+ "rules": {
9
+ "jest/no-focused-tests": "error",
10
+ "jest/expect-expect": "off",
11
+ "jsdoc/no-defaults": "off",
12
+ "no-console": "error",
13
+ "no-await-in-loop": "off",
14
+ "no-plusplus": "off",
15
+ "unicorn/prefer-set-has": "off",
16
+ "unicorn/no-null": "off",
17
+ "unicorn/explicit-length-check": "off",
18
+ "unicorn/prevent-abbreviations": "off",
19
+ "unicorn/prefer-node-protocol": "off",
20
+ "unicorn/import-style": "off",
21
+ "unicorn/prefer-module": "off",
22
+ "unicorn/prefer-spread": "off",
23
+ "unicorn/consistent-destructuring": "off",
24
+ "unicorn/no-this-assignment": "off",
25
+ "unicorn/no-array-for-each": "off",
26
+ "unicorn/no-array-reduce": "off",
27
+ "unicorn/filename-case": "off",
28
+ "unicorn/no-abusive-eslint-disable": "off"
29
+ },
30
+ "ignorePatterns": [
31
+ "built/**",
32
+ "playground.*"
33
+ ]
34
+ }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "sat-wait",
3
- "version": "0.1.6",
3
+ "version": "0.2.0",
4
4
  "description": "Universal waiting library",
5
5
  "scripts": {
6
6
  "test": "mocha ./specs/**/*.spec.ts --require ts-node/register --timeout 30000",
7
- "lint": "eslint --ext .ts ./",
7
+ "lint": "oxlint .",
8
8
  "tsc:cjs": "tsc -p tsconfig.json",
9
9
  "tsc:esm": "tsc -p tsconfig.esm.json",
10
10
  "tsc": "rm -rf ./built && npm run tsc:cjs && npm run tsc:esm"
@@ -33,23 +33,13 @@
33
33
  "devDependencies": {
34
34
  "@types/mocha": "^10.0.1",
35
35
  "@types/node": "^22.9.3",
36
- "@typescript-eslint/eslint-plugin": "^5.59.7",
37
- "@typescript-eslint/parser": "^5.59.7",
38
36
  "assertior": "^0.0.28",
39
- "eslint": "^8.41.0",
40
- "eslint-config-prettier": "^8.8.0",
41
- "eslint-plugin-jsdoc": "^44.2.7",
42
- "eslint-plugin-no-only-tests": "^3.1.0",
43
- "eslint-plugin-prettier": "^4.2.1",
44
- "eslint-plugin-promise": "^6.1.1",
45
- "eslint-plugin-sonarjs": "^0.19.0",
46
- "eslint-plugin-unicorn": "^47.0.0",
47
37
  "mocha": "^10.2.0",
38
+ "oxlint": "^1.43.0",
48
39
  "ts-node": "^10.9.2",
49
- "tslint": "^6.1.3",
50
40
  "typescript": "^5.7.2"
51
41
  },
52
42
  "dependencies": {
53
43
  "sat-utils": "^3.0.2"
54
44
  }
55
- }
45
+ }