You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
594 B
20 lines
594 B
2 years ago
|
const common = require("@blitzjs/next/eslint")
|
||
|
common.overrides = [
|
||
|
{
|
||
|
files: ["**/*.ts?(x)"],
|
||
|
plugins: ["@typescript-eslint"],
|
||
|
parserOptions: {
|
||
|
project: "./tsconfig.json",
|
||
|
},
|
||
|
rules: {
|
||
|
"@typescript-eslint/no-floating-promises": "off",
|
||
|
"no-use-before-define": "off",
|
||
|
"@typescript-eslint/no-use-before-define": ["off"],
|
||
|
"no-redeclare": "off",
|
||
|
"@typescript-eslint/no-redeclare": ["error"],
|
||
|
"react/display-name": "off",
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
module.exports = common;
|
||
|
// @typescript-eslint/no-floating-promises
|