eslint-config-moneyforward 5.0.0 → 5.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.
@@ -15,7 +15,10 @@ export default [
15
15
  ...storybook.configs['flat/csf-strict'],
16
16
 
17
17
  {
18
- files: ['**/*.@(stories|story).@(ts|tsx|js|jsx|mjs|cjs)'],
18
+ files: [
19
+ '**/*.@(stories|story).@(ts|tsx|js|jsx|mjs|cjs)',
20
+ '**/.storybook/**/*.@(ts|tsx|js|jsx)',
21
+ ],
19
22
  rules: {
20
23
  'import/no-default-export': ['off'],
21
24
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-moneyforward",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "Money Forward's ESLint rules as an extensible shared config.",
5
5
  "exports": {
6
6
  "./flat": {
@@ -68,8 +68,8 @@
68
68
  "jest": "29.7.0",
69
69
  "prettier": "3.4.2",
70
70
  "prettier-plugin-organize-imports": "4.1.0",
71
- "semantic-release": "24.2.0",
72
- "typescript": "5.7.2"
71
+ "semantic-release": "24.2.1",
72
+ "typescript": "5.7.3"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "eslint": "^8.57.0 || ^9.0.0",
package/rules/imports.js CHANGED
@@ -93,20 +93,13 @@ module.exports = {
93
93
  'test.{js,jsx,ts,tsx}', // repos with a single test file
94
94
  'test-*.{js,jsx,ts,tsx}', // repos with multiple top-level test files
95
95
  '**/*{.,_}{test,spec}.{js,jsx,ts,tsx}', // tests where the extension or filename suffix denotes that it is a test
96
- '**/jest.config.js', // jest config
97
- '**/jest.setup.js', // jest setup
98
- '**/vue.config.js', // vue-cli config
99
- '**/webpack.config.js', // webpack config
100
- '**/webpack.config.*.js', // webpack config
101
- '**/rollup.config.js', // rollup config
102
- '**/rollup.config.*.js', // rollup config
103
- '**/protractor.conf.js', // protractor config
104
- '**/protractor.conf.*.js', // protractor config
105
- '**/karma.conf.js', // karma config
106
96
  '**/.eslintrc.js', // eslint config
107
97
  '**/eslint-rules/**',
108
98
  '**/.storybook/**', // storybook config
109
99
  '**/*.stories.{js,jsx,ts,tsx,mdx}', // storybook stories
100
+ '**/*.config.*',
101
+ '**/*.conf.*',
102
+ '**/*.setup.*',
110
103
  ],
111
104
  optionalDependencies: false,
112
105
  },