@slashnephy/eslint-config 2.0.8 → 2.0.10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@slashnephy/eslint-config",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "author": "SlashNephy <spica@starry.blue> (https://spica.starry.blue/)",
@@ -76,12 +76,12 @@
76
76
  "eslint": "^8"
77
77
  },
78
78
  "devDependencies": {
79
- "@slashnephy/prettier-config": "1.0.6",
79
+ "@slashnephy/prettier-config": "1.0.8",
80
80
  "@types/eslint": "8.44.3",
81
81
  "@types/node": "20.4.10",
82
82
  "concurrently": "8.2.1",
83
83
  "eslint": "8.45.0",
84
- "prettier": "3.0.0",
84
+ "prettier": "3.0.3",
85
85
  "ts-node": "10.9.1"
86
86
  },
87
87
  "packageManager": "yarn@3.6.3",
@@ -125,6 +125,5 @@ module.exports = {
125
125
  argsIgnorePattern: '^_',
126
126
  },
127
127
  ],
128
- 'import/no-anonymous-default-export': 'off',
129
128
  },
130
129
  };
@@ -183,7 +183,5 @@ module.exports = {
183
183
  argsIgnorePattern: '^_',
184
184
  },
185
185
  ],
186
- // anonymous な export default を許可
187
- 'import/no-anonymous-default-export': 'off',
188
186
  },
189
187
  } satisfies Linter.Config
package/src/index.js CHANGED
@@ -76,7 +76,7 @@ module.exports = {
76
76
  },
77
77
  {
78
78
  files: [
79
- '**/{webpack,rollup,vite}.config.{js,mjs,cjs,ts,mts,cts}',
79
+ '**/{webpack,rollup,vite,postcss}.config.{js,mjs,cjs,ts,mts,cts}',
80
80
  '**/codegen.{js,mjs,cjs,ts,mts,cts}',
81
81
  ],
82
82
  extends: [
package/src/index.ts CHANGED
@@ -106,7 +106,7 @@ module.exports = {
106
106
  // ビルドツールの構成ファイル
107
107
  {
108
108
  files: [
109
- '**/{webpack,rollup,vite}.config.{js,mjs,cjs,ts,mts,cts}',
109
+ '**/{webpack,rollup,vite,postcss}.config.{js,mjs,cjs,ts,mts,cts}',
110
110
  '**/codegen.{js,mjs,cjs,ts,mts,cts}',
111
111
  ],
112
112
  extends: [
@@ -3,5 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  module.exports = {
4
4
  rules: {
5
5
  'import/no-default-export': 'off',
6
+ 'import/no-anonymous-default-export': 'off',
6
7
  },
7
8
  };
@@ -3,5 +3,7 @@ import type { Linter } from 'eslint'
3
3
  module.exports = {
4
4
  rules: {
5
5
  'import/no-default-export': 'off',
6
+ // anonymous な export default を許可
7
+ 'import/no-anonymous-default-export': 'off',
6
8
  },
7
9
  } satisfies Linter.Config