Skip to content

Commit 471c941

Browse files
authored
Revert: Storybook version to 7.6.17 (#450)
1 parent 7ccc6c8 commit 471c941

File tree

148 files changed

+1419
-913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+1419
-913
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
dist/
1+
dist/
2+
docs/

.eslintrc.cjs

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
11
module.exports = {
2-
'env': {
3-
'browser': true,
4-
'es2021': true,
5-
'node': true,
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node: true
66
},
7-
'extends': [
7+
extends: [
88
'plugin:react/recommended',
99
'eslint:recommended',
10-
'google',
10+
'standard'
1111
],
12-
'overrides': [
12+
overrides: [
1313
],
14-
'parser': '@babel/eslint-parser',
15-
'parserOptions': {
16-
'ecmaVersion': 'latest',
17-
'sourceType': 'module',
14+
parser: '@babel/eslint-parser',
15+
parserOptions: {
16+
ecmaVersion: 'latest',
17+
sourceType: 'module'
1818
},
19-
'plugins': [
20-
'react',
19+
plugins: [
20+
'react'
2121
],
22-
'rules': {
22+
rules: {
2323
'react/react-in-jsx-scope': 'off',
24-
'indent': ['warn', 4],
25-
'key-spacing': ['warn', {'beforeColon': false, 'afterColon': true}],
24+
indent: ['warn', 4],
25+
'key-spacing': ['warn', { beforeColon: false, afterColon: true }],
2626
'no-trailing-spaces': 'warn',
2727
'no-mixed-spaces-and-tabs': 'warn',
2828
'no-multi-spaces': 'warn',
2929
'no-unused-vars': 'warn',
3030
'no-undef': 'off',
31+
eqeqeq: 'warn',
32+
'array-callback-return': 'warn',
3133
'react/no-unescaped-entities': 1,
3234
'no-unexpected-multiline': 'warn',
3335
'no-var': 'warn',
@@ -40,24 +42,24 @@ module.exports = {
4042
'arrow-spacing': 'warn',
4143
'comma-style': 'warn',
4244
'func-call-spacing': 'warn',
43-
'comma-spacing': ['warn', {'before': false, 'after': true}],
44-
'quotes': ['warn', 'single'],
45+
'comma-spacing': ['warn', { before: false, after: true }],
46+
quotes: ['warn', 'single'],
4547
'react/prop-types': 'off',
4648
'prefer-rest-params': 'off',
4749
'no-func-assign': 'off',
4850
'no-invalid-this': 'off',
4951
'react/no-unknown-property': 'off',
50-
'camelcase': 'off',
52+
camelcase: 'off',
5153
'react/jsx-key': 'off',
5254
'require-jsdoc': 'off',
5355
'guard-for-in': 'off',
5456
'no-empty-pattern': 'off',
5557

5658
// ignore long strings
5759
'max-len': 'off',
58-
'semi': [
60+
semi: [
5961
'warn',
60-
'always',
61-
],
62-
},
62+
'always'
63+
]
64+
}
6365
};

0 commit comments

Comments
 (0)