eslint-config-adslot 2.0.0 → 2.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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -19,6 +19,7 @@ const globals = require('globals');
19
19
  module.exports = [
20
20
  eslintConfigPrettier,
21
21
  {
22
+ files: ['**/*.js?(x)', '**/*.?(c|m)js', '**/*.ts?(x)'],
22
23
  languageOptions: {
23
24
  globals: {
24
25
  ...globals.browser,
@@ -188,7 +189,7 @@ module.exports = [
188
189
  'error',
189
190
  { groups: [['builtin', 'external', 'internal']] },
190
191
  ],
191
- 'import/no-cycle': 'error',
192
+ 'import/no-cycle': ['error', { ignoreExternal: true }],
192
193
  'import/no-unresolved': ['error', { commonjs: true }],
193
194
  'import/no-duplicates': 'error',
194
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-adslot",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "ESLint configuration for Adslot",
5
5
  "main": "index.js",
6
6
  "files": [