mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 11:09:01 +03:00
27 lines
588 B
JavaScript
27 lines
588 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
"plugin:react/recommended",
|
|
"airbnb",
|
|
"prettier",
|
|
"prettier/@typescript-eslint",
|
|
"prettier/react",
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
ecmaVersion: 12,
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["react", "@typescript-eslint"],
|
|
rules: {
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/jsx-filename-extension": [1, { extensions: [".js", ".jsx", ".tsx"] }],
|
|
"react/jsx-props-no-spreading": "off",
|
|
},
|
|
};
|