@slashnephy/eslint-config 0.5.1 → 0.5.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/dist/javascript.js +0 -7
- package/dist/typescript.js +7 -1
- package/package.json +2 -2
package/dist/javascript.js
CHANGED
package/dist/typescript.js
CHANGED
|
@@ -94,7 +94,6 @@ const typescript = {
|
|
|
94
94
|
},
|
|
95
95
|
],
|
|
96
96
|
'@typescript-eslint/no-confusing-void-expression': 'error',
|
|
97
|
-
'@typescript-eslint/no-implicit-any-catch': 'error',
|
|
98
97
|
'@typescript-eslint/no-redundant-type-constituents': 'warn',
|
|
99
98
|
'@typescript-eslint/no-require-imports': 'warn',
|
|
100
99
|
'@typescript-eslint/no-unnecessary-qualifier': 'error',
|
|
@@ -140,6 +139,13 @@ const typescript = {
|
|
|
140
139
|
'@typescript-eslint/restrict-template-expressions': 'off',
|
|
141
140
|
'@typescript-eslint/strict-boolean-expressions': 'off',
|
|
142
141
|
'deprecation/deprecation': 'error',
|
|
142
|
+
'import/extensions': [
|
|
143
|
+
'warn',
|
|
144
|
+
'always',
|
|
145
|
+
{
|
|
146
|
+
ignorePackages: true,
|
|
147
|
+
},
|
|
148
|
+
],
|
|
143
149
|
},
|
|
144
150
|
};
|
|
145
151
|
module.exports = typescript;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashnephy/eslint-config",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "SlashNephy <spica@starry.blue> (https://spica.starry.blue/)",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"eslint-plugin-vitest": ">= 0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@slashnephy/prettier-config": "0.1.
|
|
84
|
+
"@slashnephy/prettier-config": "0.1.24",
|
|
85
85
|
"@types/eslint": "8.37.0",
|
|
86
86
|
"@types/node": "18.16.7",
|
|
87
87
|
"concurrently": "8.0.1",
|