Enable eslint-plugin-github for storybook
This also adds the recommended rules for React.
This commit is contained in:
@@ -2,11 +2,23 @@ module.exports = {
|
||||
env: {
|
||||
browser: true
|
||||
},
|
||||
plugins: [
|
||||
"github",
|
||||
],
|
||||
extends: [
|
||||
"plugin:github/react",
|
||||
"plugin:github/recommended",
|
||||
"plugin:github/typescript",
|
||||
"plugin:react/recommended",
|
||||
"plugin:react-hooks/recommended",
|
||||
"plugin:storybook/recommended",
|
||||
],
|
||||
rules: {
|
||||
"filenames/match-regex": "off",
|
||||
"import/named": "off",
|
||||
"import/no-unresolved": "off",
|
||||
"no-unused-vars": "off",
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
version: 'detect'
|
||||
|
||||
Reference in New Issue
Block a user