@cto.af/eslint-config 6.0.16 → 6.0.17

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 (3) hide show
  1. package/package.json +1 -1
  2. package/rules/js.js +1 -0
  3. package/ts.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cto.af/eslint-config",
3
- "version": "6.0.16",
3
+ "version": "6.0.17",
4
4
  "description": "hildjj's lint rules",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/rules/js.js CHANGED
@@ -292,6 +292,7 @@ export const rules = {
292
292
  ignoreStrings: true,
293
293
  ignoreTemplateLiterals: true,
294
294
  ignoreUrls: true,
295
+ ignorePattern: '^\\s*\\/\\/ eslint-',
295
296
  }],
296
297
  '@stylistic/max-statements-per-line': 'off',
297
298
  '@stylistic/member-delimiter-style': 'off',
package/ts.js CHANGED
@@ -30,7 +30,7 @@ blob.languageOptions.parserOptions = {
30
30
 
31
31
  // Allow importing .ts files directly in tests, for now.
32
32
  const testBlob = {...blob};
33
- testBlob.files = ['test/**/*.ts'];
33
+ testBlob.files = ['**/test/**/*.ts'];
34
34
  testBlob.settings = {
35
35
  n: {
36
36
  // Ensure that importing real .js files works