venture-ui/.eslintrc.cjs

32 lines
709 B
JavaScript
Raw Permalink Normal View History

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