eslint-config-react-app-new 2.0.4 → 2.0.6

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/import.js +1 -1
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/import.js CHANGED
@@ -24,7 +24,7 @@ module.exports = [
24
24
  'import/no-duplicates': 'error',
25
25
  'import/no-webpack-loader-syntax': 'error',
26
26
  'import/order': [
27
- 'error',
27
+ 'warn',
28
28
  {
29
29
  groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object'],
30
30
  sortTypesGroup: false,
package/index.js CHANGED
@@ -99,7 +99,7 @@ module.exports = [
99
99
  args: 'after-used',
100
100
  caughtErrors: 'none',
101
101
  ignoreRestSiblings: true,
102
- varsIgnorePattern: '^_',
102
+ varsIgnorePattern: '^_|^React$',
103
103
  destructuredArrayIgnorePattern: '^_',
104
104
  argsIgnorePattern: '^_|^err|^ev'
105
105
  }
@@ -365,7 +365,7 @@ module.exports = [
365
365
  args: 'after-used',
366
366
  caughtErrors: 'none',
367
367
  ignoreRestSiblings: true,
368
- varsIgnorePattern: '^_|^React$',
368
+ varsIgnorePattern: '^_',
369
369
  destructuredArrayIgnorePattern: '^_',
370
370
  argsIgnorePattern: '^_|^err|^ev'
371
371
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-react-app-new",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "ESLint configuration used by tiger-new",
5
5
  "repository": {
6
6
  "type": "git",