mirror of
https://github.com/exogen/t2-model-skinner.git
synced 2026-01-19 19:24:44 +00:00
45 lines
1,000 B
JavaScript
45 lines
1,000 B
JavaScript
module.exports = {
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:react/jsx-runtime",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@next/next/recommended",
|
|
],
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint"],
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
es2020: true,
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
rules: {
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
args: "none",
|
|
ignoreRestSiblings: true,
|
|
destructuredArrayIgnorePattern: "^",
|
|
},
|
|
],
|
|
"react/no-unknown-property": [
|
|
"error",
|
|
{
|
|
ignore: ["jsx", "global"],
|
|
},
|
|
],
|
|
"@next/next/no-img-element": "off",
|
|
},
|
|
};
|