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

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/base.js +3 -1
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/base.js CHANGED
@@ -11,9 +11,11 @@ module.exports = [
11
11
  languageOptions: {
12
12
  parser: babelParser,
13
13
  parserOptions: {
14
- sourceType: 'module',
15
14
  requireConfigFile: false,
15
+ sourceType: 'module',
16
16
  babelOptions: {
17
+ babelrc: false,
18
+ configFile: false,
17
19
  presets: [require.resolve('babel-preset-react-app-new/prod')]
18
20
  }
19
21
  },
package/index.js CHANGED
@@ -365,7 +365,7 @@ module.exports = [
365
365
  args: 'after-used',
366
366
  caughtErrors: 'none',
367
367
  ignoreRestSiblings: true,
368
- varsIgnorePattern: '^_',
368
+ varsIgnorePattern: '^_|^React$',
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.2",
3
+ "version": "2.0.4",
4
4
  "description": "ESLint configuration used by tiger-new",
5
5
  "repository": {
6
6
  "type": "git",