mirror of https://github.com/mifi/lossless-cut
rewrite to modern hooks
parent
ee3d7eb6ae
commit
6b67f6546d
@ -1,2 +1,4 @@
|
||||
dist
|
||||
package
|
||||
build
|
||||
watch-build
|
||||
@ -1,19 +1,26 @@
|
||||
{
|
||||
"extends": "airbnb",
|
||||
"parser": "babel-eslint",
|
||||
"plugins": [
|
||||
"react",
|
||||
"react-hooks"
|
||||
],
|
||||
"env": {
|
||||
"node": true,
|
||||
"browser": true,
|
||||
"browser": true
|
||||
},
|
||||
"rules": {
|
||||
"react-hooks/rules-of-hooks": "error",
|
||||
"react-hooks/exhaustive-deps": "error",
|
||||
|
||||
"no-console": 0,
|
||||
"react/destructuring-assignment": 0,
|
||||
"react/forbid-prop-types": [1, { "forbid": ["any"] }],
|
||||
"jsx-a11y/click-events-have-key-events": 0,
|
||||
"react/jsx-one-expression-per-line": 0,
|
||||
"object-curly-newline": 0
|
||||
},
|
||||
"plugins": [
|
||||
"react"
|
||||
]
|
||||
"object-curly-newline": 0,
|
||||
"arrow-parens": 0,
|
||||
"jsx-a11y/control-has-associated-label": 0,
|
||||
"react/prop-types": 0
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue