@nivinjoseph/n-strument 1.0.3 → 1.0.5
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.
- package/.eslintrc +13 -4
- package/.gitattributes +4 -0
- package/.vscode/settings.json +30 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-4.4.1.cjs +925 -0
- package/.yarnrc.yml +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +35 -34
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.json +2 -1
- package/package.json +22 -25
- package/src/index.ts +15 -8
- package/test/dummy.test.ts +12 -0
- package/tsconfig.json +8 -5
package/.eslintrc
CHANGED
|
@@ -2,17 +2,27 @@
|
|
|
2
2
|
"root": true,
|
|
3
3
|
"parser": "@typescript-eslint/parser",
|
|
4
4
|
"plugins": [
|
|
5
|
-
"@typescript-eslint"
|
|
5
|
+
"@typescript-eslint",
|
|
6
|
+
"require-extensions"
|
|
6
7
|
],
|
|
7
8
|
"extends": [
|
|
8
9
|
"eslint:recommended",
|
|
9
10
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
10
|
-
"plugin:@typescript-eslint/recommended"
|
|
11
|
+
"plugin:@typescript-eslint/recommended",
|
|
12
|
+
"plugin:require-extensions/recommended"
|
|
11
13
|
],
|
|
12
14
|
"parserOptions": {
|
|
13
15
|
"project": "tsconfig.json"
|
|
14
16
|
},
|
|
15
17
|
"rules": {
|
|
18
|
+
"quotes": "off",
|
|
19
|
+
"@typescript-eslint/quotes": [
|
|
20
|
+
"error",
|
|
21
|
+
"double",
|
|
22
|
+
{
|
|
23
|
+
"allowTemplateLiterals": true
|
|
24
|
+
}
|
|
25
|
+
],
|
|
16
26
|
"no-eval": "error",
|
|
17
27
|
"no-void": "error",
|
|
18
28
|
"no-with": "error",
|
|
@@ -253,8 +263,7 @@
|
|
|
253
263
|
"no-dupe-class-members": "off",
|
|
254
264
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
255
265
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
256
|
-
"no-duplicate-imports": "
|
|
257
|
-
"@typescript-eslint/no-duplicate-imports": "error",
|
|
266
|
+
"no-duplicate-imports": "error",
|
|
258
267
|
"no-empty-function": "off",
|
|
259
268
|
"@typescript-eslint/no-empty-function": [
|
|
260
269
|
"error",
|
package/.gitattributes
ADDED
package/.vscode/settings.json
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
+
"typescript.format.placeOpenBraceOnNewLineForFunctions": true,
|
|
3
|
+
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
|
|
4
|
+
"editor.formatOnType": true,
|
|
5
|
+
"editor.formatOnPaste": true,
|
|
6
|
+
"typescript.tsdk": "./node_modules/typescript/lib",
|
|
7
|
+
"npm.packageManager": "yarn",
|
|
8
|
+
"files.exclude": {
|
|
9
|
+
"**/.git": true,
|
|
10
|
+
"**/.svn": true,
|
|
11
|
+
"**/.hg": true,
|
|
12
|
+
"**/.DS_Store": true,
|
|
13
|
+
"**/*.js": {
|
|
14
|
+
"when": "$(basename).ts"
|
|
15
|
+
},
|
|
16
|
+
"**/*.map": {
|
|
17
|
+
"when": "$(basename).map"
|
|
18
|
+
},
|
|
19
|
+
"**/*.css": {
|
|
20
|
+
"when": "$(basename).scss"
|
|
21
|
+
},
|
|
22
|
+
"**/*.tsbuildinfo": true
|
|
23
|
+
},
|
|
24
|
+
"editor.trimAutoWhitespace": true,
|
|
25
|
+
"typescript.updateImportsOnFileMove.enabled": "prompt",
|
|
26
|
+
"editor.wordWrapColumn": 120,
|
|
27
|
+
"editor.rulers": [
|
|
28
|
+
120
|
|
29
|
+
],
|
|
2
30
|
"cSpell.words": [
|
|
31
|
+
"nivinjoseph",
|
|
32
|
+
"opentelemetry",
|
|
3
33
|
"otel"
|
|
4
34
|
]
|
|
5
35
|
}
|
|
Binary file
|