@newhighsco/eslint-config 5.1.0 → 5.1.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.
Files changed (2) hide show
  1. package/eslint.config.js +2 -1
  2. package/package.json +1 -1
package/eslint.config.js CHANGED
@@ -79,6 +79,7 @@ export default defineConfig(
79
79
  // Testing Library
80
80
  {
81
81
  files: ['*.spec.*'],
82
+ excludedFiles: ['*.spec.?(s)css'],
82
83
  extends: ['plugin:testing-library/react'],
83
84
  rules: {
84
85
  'testing-library/no-node-access': [
@@ -89,7 +90,7 @@ export default defineConfig(
89
90
  },
90
91
  // Cypress
91
92
  { files: ['*.cy.*'], extends: ['plugin:cypress/recommended'] }
92
- ]
93
+ ].filter(Boolean)
93
94
  }),
94
95
  // JSON
95
96
  { files: ['**/*.json'], plugins: { json }, language: 'json/json' },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newhighsco/eslint-config",
3
3
  "description": "New High Score shareable config for ESLint",
4
- "version": "5.1.0",
4
+ "version": "5.1.2",
5
5
  "author": "New High Score",
6
6
  "license": "ISC",
7
7
  "private": false,