Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit e3b3d84

Browse files
author
Greg Rickaby
authored
Merge branch 'staging' into feature/88-gravity-form-story
2 parents f3ef285 + c1c1668 commit e3b3d84

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.eslintrc.js

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ module.exports = {
1616
'plugin:react/recommended',
1717
'plugin:react-hooks/recommended',
1818
'plugin:jsx-a11y/recommended',
19-
'plugin:jsdoc/recommended',
20-
'prettier'
19+
'prettier',
20+
'plugin:jsdoc/recommended'
2121
],
2222
settings: {
2323
react: {
2424
version: 'detect'
2525
},
2626
jsdoc: {
27-
unnamedRootBase: ['props'],
2827
tagNamePreference: {
2928
returns: 'return'
3029
}
@@ -33,14 +32,26 @@ module.exports = {
3332
plugins: ['react', 'react-hooks', 'jsx-a11y', 'prettier', 'jsdoc'],
3433
rules: {
3534
'func-style': ['error', 'declaration'],
36-
'jsdoc/check-indentation': 1,
37-
'jsdoc/check-line-alignment': [1, 'always'],
35+
'jsdoc/check-indentation': 'warn',
36+
'jsdoc/check-line-alignment': ['warn', 'always'],
37+
'jsdoc/require-param': [
38+
'warn',
39+
{
40+
unnamedRootBase: ['props']
41+
}
42+
],
43+
'jsdoc/check-values': [
44+
'warn',
45+
{
46+
allowedAuthors: ['WebDevStudios']
47+
}
48+
],
3849
'jsx-a11y/anchor-is-valid': 'off',
3950
'no-console': ['error', {allow: ['warn', 'error']}],
4051
'prettier/prettier': 'error',
4152
'react/react-in-jsx-scope': 'off',
4253
'react/jsx-filename-extension': [
43-
1,
54+
'warn',
4455
{
4556
extensions: ['.js', '.jsx']
4657
}

0 commit comments

Comments
 (0)