1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00
lossless-cut/.eslintrc
Mikael Finstad 23cbd73e93
upgrade lint and support esm
fix lint too
2022-02-21 14:16:15 +08:00

33 lines
796 B
Plaintext

{
"extends": [
"airbnb",
"airbnb/hooks"
],
"env": {
"node": true,
"browser": true,
"jest": true
},
"rules": {
"max-len": 0,
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true,
"optionalDependencies": false
}],
"no-console": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/interactive-supports-focus": 0,
"react/jsx-one-expression-per-line": 0,
"object-curly-newline": 0,
"arrow-parens": 0,
"jsx-a11y/control-has-associated-label": 0,
"react/prop-types": 0,
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 0, "maxEOF": 0 }],
"no-promise-executor-return": 0,
"react/function-component-definition": 0
},
"parserOptions": {
"ecmaVersion": 2022
}
}