@shakuroinc/eslint-config-react 6.3.0 → 6.4.0

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/.eslintrc.js +3 -4
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -137,6 +137,7 @@ module.exports = {
137
137
  ],
138
138
  next: 'export',
139
139
  },
140
+ { blankLine: 'always', prev: 'directive', next: '*' },
140
141
  ],
141
142
  'jsx-a11y/anchor-is-valid': [
142
143
  'error',
@@ -169,10 +170,7 @@ module.exports = {
169
170
  'react/react-in-jsx-scope': 'off',
170
171
  'react/self-closing-comp': 'warn',
171
172
  'sort-imports': 'off',
172
- 'react/function-component-definition': [
173
- 2,
174
- { namedComponents: 'arrow-function', unnamedComponents: 'arrow-function' },
175
- ],
173
+ 'react/function-component-definition': "off",
176
174
  'react/jsx-curly-brace-presence': [
177
175
  2,
178
176
  {
@@ -191,6 +189,7 @@ module.exports = {
191
189
  skipComments: true,
192
190
  },
193
191
  ],
192
+ 'no-console': 'error',
194
193
  'simple-import-sort/imports': [
195
194
  1,
196
195
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakuroinc/eslint-config-react",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "main": ".eslintrc.js",
5
5
  "author": "Shakuro team",
6
6
  "license": "MIT",