create-10x-package 1.0.0 → 1.0.2
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/package.json
CHANGED
|
@@ -1,56 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import globals from "globals"
|
|
3
|
-
import { fixupPluginRules } from "@eslint/compat"
|
|
4
|
-
import ninjaPlugin from "eslint-plugin-ninja"
|
|
5
|
-
import unicorn from "eslint-plugin-unicorn"
|
|
6
|
-
import perfectionist from "eslint-plugin-perfectionist"
|
|
7
|
-
import sonar from "eslint-plugin-sonarjs"
|
|
1
|
+
import config from "@10xly/eslint-config"
|
|
8
2
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export default [
|
|
12
|
-
{
|
|
13
|
-
ignores: ["node_modules/**", "stuff/**", "eslint.config.mjs", "t.js"]
|
|
14
|
-
},
|
|
15
|
-
perfectionist.configs["recommended-natural"],
|
|
16
|
-
{
|
|
17
|
-
files: ["**/*.js", "**/*.mjs", "**/*.cjs"],
|
|
18
|
-
plugins: {
|
|
19
|
-
js,
|
|
20
|
-
ninja,
|
|
21
|
-
unicorn,
|
|
22
|
-
"sonarjs": sonar
|
|
23
|
-
},
|
|
24
|
-
languageOptions: {
|
|
25
|
-
globals: {
|
|
26
|
-
...globals.browser,
|
|
27
|
-
...globals.node
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
rules: {
|
|
31
|
-
...js.configs.all.rules,
|
|
32
|
-
...unicorn.configs.all.rules,
|
|
33
|
-
...sonar.configs.recommended.rules,
|
|
34
|
-
"strict": "off",
|
|
35
|
-
"func-style": "off",
|
|
36
|
-
"ninja/prefer-npm": 2,
|
|
37
|
-
"ninja/no-woof": 2,
|
|
38
|
-
"ninja/no-xkcd": 2,
|
|
39
|
-
"ninja/optimize-string-ternary": 2,
|
|
40
|
-
"ninja/no-no-plusplus": 2,
|
|
41
|
-
"ninja/no-ts": 2,
|
|
42
|
-
"ninja/lottery": [2, { probability: 1 }],
|
|
43
|
-
"unicorn/prefer-module": "off",
|
|
44
|
-
"unicorn/filename": "off",
|
|
45
|
-
"perfectionist/sort-imports": "off",
|
|
46
|
-
"perfectionist/sort-modules": "off",
|
|
47
|
-
"unicorn/filename-case": "off"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
files: ["**/*.js"],
|
|
52
|
-
languageOptions: {
|
|
53
|
-
sourceType: "commonjs"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
]
|
|
3
|
+
export default config
|
|
@@ -13,15 +13,28 @@
|
|
|
13
13
|
"use-unused-vars": "1.0.1"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
+
"@10xly/eslint-config": "^1.0.1",
|
|
17
|
+
"eslint": "^9.39.2"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"node_modules/@10xly/eslint-config": {
|
|
21
|
+
"version": "1.0.1",
|
|
22
|
+
"resolved": "https://registry.npmjs.org/@10xly/eslint-config/-/eslint-config-1.0.1.tgz",
|
|
23
|
+
"integrity": "sha512-zM+7e0/w33A+3+F00Bi7YXHq1El/RlVl3g0ywFy590vOVHHo489GcqYmtdb3HYhw9BIjSiTzWqvWPSAq7xThYA==",
|
|
24
|
+
"dev": true,
|
|
25
|
+
"license": "10xly",
|
|
26
|
+
"dependencies": {
|
|
16
27
|
"@babel/helper-validator-identifier": "^7.28.5",
|
|
17
28
|
"@eslint/compat": "^2.0.0",
|
|
18
29
|
"@eslint/js": "^9.39.2",
|
|
19
30
|
"eslint": "^9.39.2",
|
|
20
31
|
"eslint-formatter-pretty": "^7.0.0",
|
|
32
|
+
"eslint-plugin-10x-engineering": "^1.0.0",
|
|
21
33
|
"eslint-plugin-ninja": "^0.0.8",
|
|
22
34
|
"eslint-plugin-perfectionist": "^5.3.0",
|
|
23
35
|
"eslint-plugin-sonarjs": "^3.0.5",
|
|
24
36
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
37
|
+
"lodash": "^4.17.23",
|
|
25
38
|
"prettier-linter-helpers": "^1.0.1"
|
|
26
39
|
}
|
|
27
40
|
},
|
|
@@ -299,9 +312,9 @@
|
|
|
299
312
|
}
|
|
300
313
|
},
|
|
301
314
|
"node_modules/@isaacs/brace-expansion": {
|
|
302
|
-
"version": "5.0.
|
|
303
|
-
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.
|
|
304
|
-
"integrity": "sha512-
|
|
315
|
+
"version": "5.0.1",
|
|
316
|
+
"resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz",
|
|
317
|
+
"integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==",
|
|
305
318
|
"dev": true,
|
|
306
319
|
"license": "MIT",
|
|
307
320
|
"dependencies": {
|
|
@@ -1099,6 +1112,16 @@
|
|
|
1099
1112
|
"url": "https://github.com/chalk/chalk?sponsor=1"
|
|
1100
1113
|
}
|
|
1101
1114
|
},
|
|
1115
|
+
"node_modules/eslint-plugin-10x-engineering": {
|
|
1116
|
+
"version": "1.0.0",
|
|
1117
|
+
"resolved": "https://registry.npmjs.org/eslint-plugin-10x-engineering/-/eslint-plugin-10x-engineering-1.0.0.tgz",
|
|
1118
|
+
"integrity": "sha512-QcfH9pNeZA9pkiPdKBOTuxom9mkAJSUZILhZ/Avi86bJvxK3Y+VHPyZ+Wpqkm+yA5H9FzPhjUQWvZaf30TqRqw==",
|
|
1119
|
+
"dev": true,
|
|
1120
|
+
"license": "MIT",
|
|
1121
|
+
"peerDependencies": {
|
|
1122
|
+
"eslint": ">=7.0.0"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1102
1125
|
"node_modules/eslint-plugin-ninja": {
|
|
1103
1126
|
"version": "0.0.8",
|
|
1104
1127
|
"resolved": "https://registry.npmjs.org/eslint-plugin-ninja/-/eslint-plugin-ninja-0.0.8.tgz",
|
|
@@ -2079,6 +2102,13 @@
|
|
|
2079
2102
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
2080
2103
|
}
|
|
2081
2104
|
},
|
|
2105
|
+
"node_modules/lodash": {
|
|
2106
|
+
"version": "4.17.23",
|
|
2107
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
|
|
2108
|
+
"integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
|
|
2109
|
+
"dev": true,
|
|
2110
|
+
"license": "MIT"
|
|
2111
|
+
},
|
|
2082
2112
|
"node_modules/lodash.merge": {
|
|
2083
2113
|
"version": "4.6.2",
|
|
2084
2114
|
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
|
@@ -23,15 +23,7 @@
|
|
|
23
23
|
"use-unused-vars": "1.0.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"
|
|
28
|
-
"@eslint/js": "^9.39.2",
|
|
29
|
-
"eslint": "^9.39.2",
|
|
30
|
-
"eslint-formatter-pretty": "^7.0.0",
|
|
31
|
-
"eslint-plugin-ninja": "^0.0.8",
|
|
32
|
-
"eslint-plugin-perfectionist": "^5.3.0",
|
|
33
|
-
"eslint-plugin-sonarjs": "^3.0.5",
|
|
34
|
-
"eslint-plugin-unicorn": "^62.0.0",
|
|
35
|
-
"prettier-linter-helpers": "^1.0.1"
|
|
26
|
+
"@10xly/eslint-config": "^1.0.1",
|
|
27
|
+
"eslint": "^9.39.2"
|
|
36
28
|
}
|
|
37
29
|
}
|