Skip to content

Commit 195ef45

Browse files
committed
Enable eslint-plugin-github for storybook
This also adds the recommended rules for React.
1 parent 56660b1 commit 195ef45

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

extensions/ql-vscode/src/stories/.eslintrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,23 @@ module.exports = {
22
env: {
33
browser: true
44
},
5+
plugins: [
6+
"github",
7+
],
58
extends: [
9+
"plugin:github/react",
10+
"plugin:github/recommended",
11+
"plugin:github/typescript",
612
"plugin:react/recommended",
713
"plugin:react-hooks/recommended",
814
"plugin:storybook/recommended",
915
],
16+
rules: {
17+
"filenames/match-regex": "off",
18+
"import/named": "off",
19+
"import/no-unresolved": "off",
20+
"no-unused-vars": "off",
21+
},
1022
settings: {
1123
react: {
1224
version: 'detect'

0 commit comments

Comments
 (0)