@slashnephy/eslint-config 0.5.1 → 0.5.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.
@@ -91,13 +91,6 @@ const javascript = {
91
91
  'no-nested-ternary': 'off',
92
92
  'no-plusplus': 'off',
93
93
  'consistent-return': 'off',
94
- 'import/extensions': [
95
- 'error',
96
- 'always',
97
- {
98
- ignorePackages: true,
99
- },
100
- ],
101
94
  },
102
95
  };
103
96
  module.exports = javascript;
@@ -140,6 +140,13 @@ const typescript = {
140
140
  '@typescript-eslint/restrict-template-expressions': 'off',
141
141
  '@typescript-eslint/strict-boolean-expressions': 'off',
142
142
  'deprecation/deprecation': 'error',
143
+ 'import/extensions': [
144
+ 'warn',
145
+ 'always',
146
+ {
147
+ ignorePackages: true,
148
+ },
149
+ ],
143
150
  },
144
151
  };
145
152
  module.exports = typescript;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slashnephy/eslint-config",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "author": "SlashNephy <spica@starry.blue> (https://spica.starry.blue/)",