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

Commit f3ef285

Browse files
author
Greg Rickaby
authored
Merge branch 'staging' into feature/88-gravity-form-story
2 parents 8eb2780 + 95bbbf7 commit f3ef285

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.eslintrc.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,26 @@ module.exports = {
2424
version: 'detect'
2525
},
2626
jsdoc: {
27+
unnamedRootBase: ['props'],
2728
tagNamePreference: {
2829
returns: 'return'
2930
}
3031
}
3132
},
3233
plugins: ['react', 'react-hooks', 'jsx-a11y', 'prettier', 'jsdoc'],
3334
rules: {
35+
'func-style': ['error', 'declaration'],
36+
'jsdoc/check-indentation': 1,
37+
'jsdoc/check-line-alignment': [1, 'always'],
3438
'jsx-a11y/anchor-is-valid': 'off',
39+
'no-console': ['error', {allow: ['warn', 'error']}],
40+
'prettier/prettier': 'error',
3541
'react/react-in-jsx-scope': 'off',
3642
'react/jsx-filename-extension': [
3743
1,
3844
{
3945
extensions: ['.js', '.jsx']
4046
}
41-
],
42-
'prettier/prettier': 'error',
43-
'func-style': ['error', 'declaration'],
44-
'jsdoc/check-indentation': 1,
45-
'jsdoc/check-line-alignment': [1, 'always'],
46-
'no-console': ['error', {allow: ['warn', 'error']}]
47+
]
4748
}
4849
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@storybook/react": "^6.1.14",
5555
"algoliasearch": "^4.8.3",
5656
"babel-loader": "^8.2.2",
57-
"chromatic": "^5.5.0",
57+
"chromatic": "^5.6.0",
5858
"dayjs": "^1.10.3",
5959
"deepmerge": "^4.2.2",
6060
"eslint": "^7.17.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4417,10 +4417,10 @@ chownr@^2.0.0:
44174417
resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
44184418
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
44194419

4420-
chromatic@^5.5.0:
4421-
version "5.5.0"
4422-
resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-5.5.0.tgz#664808ae41c662560a475004e6353847a9c13ed3"
4423-
integrity sha512-MaSyaNO4uIx7Ve+uMEBYDgkQKMi8iQdg62kHfpum5QDSlxXTUreQYSaUM1P66ud7uFcmS4Sq+csWTY2LjT3F+g==
4420+
chromatic@^5.6.0:
4421+
version "5.6.0"
4422+
resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-5.6.0.tgz#a2bf53851160ac6e33397986d83e9fff7ad3175d"
4423+
integrity sha512-IHBGD9y9aWxJBMWa9Wl5d7YNORt2NjpZRVskU/M6xPd+PFgLPhyVn7/6nzF1CF5j4Zh9zzTXL2/GbDfqQ2Dr/A==
44244424
dependencies:
44254425
"@actions/core" "^1.2.4"
44264426
"@actions/github" "^4.0.0"

0 commit comments

Comments
 (0)