venture-ui/.eslintrc.cjs
2023-02-15 13:36:16 -06:00

32 lines
709 B
JavaScript

// -*- mode: web; -*-
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
],
overrides: [],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
},
plugins: ["react", "@typescript-eslint"],
rules: {
"@typescript-eslint/no-unsafe-return": "off", // Allow quick oners
},
settings: {
react: {
version: "detect",
},
},
};