@bedrockio/eslint-plugin 1.1.7 → 1.1.8

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/cjs/jest.js CHANGED
@@ -9,7 +9,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
9
9
  var _default = exports.default = {
10
10
  ..._eslintPluginJest.default.configs['flat/recommended'],
11
11
  files: ['**/*.{js,jsx,ts,tsx}'],
12
- files: ['test/**/*.{js,jsx,ts,tsx}', '**/__tests__/**/*.{js,jsx,ts,tsx}', '**/__mocks__/**/*.{js,jsx,ts,tsx}', '**/*.test.js', '**/*.spec.js'],
12
+ files: ['**/test*/**/*.{js,jsx,ts,tsx}', '**/__tests__/**/*.{js,jsx,ts,tsx}', '**/__mocks__/**/*.{js,jsx,ts,tsx}', '**/*.test.js', '**/*.spec.js'],
13
13
  languageOptions: {
14
14
  globals: _eslintPluginJest.default.environments.globals.globals
15
15
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrockio/eslint-plugin",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Common ESLint plugin for Bedrock projects.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/jest.js CHANGED
@@ -5,7 +5,7 @@ export default {
5
5
 
6
6
  files: ['**/*.{js,jsx,ts,tsx}'],
7
7
  files: [
8
- 'test/**/*.{js,jsx,ts,tsx}',
8
+ '**/test*/**/*.{js,jsx,ts,tsx}',
9
9
  '**/__tests__/**/*.{js,jsx,ts,tsx}',
10
10
  '**/__mocks__/**/*.{js,jsx,ts,tsx}',
11
11
  '**/*.test.js',