create-10x-package 1.0.1 → 1.0.3
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
|
|
@@ -23,16 +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
|
-
"lodash": "^4.17.23",
|
|
36
|
-
"prettier-linter-helpers": "^1.0.1"
|
|
26
|
+
"@10xly/eslint-config": "^1.0.1",
|
|
27
|
+
"eslint": "^9.39.2"
|
|
37
28
|
}
|
|
38
29
|
}
|