mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
937 B
JavaScript
33 lines
937 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@next/next/recommended"
|
|
],
|
|
plugins: [
|
|
"@typescript-eslint",
|
|
],
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
|
"@typescript-eslint/no-use-before-define": ["error", { "variables": false }],
|
|
"@typescript-eslint/promise-function-async": "off",
|
|
"@typescript-eslint/require-await": "off",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"import/no-unused-modules": "off",
|
|
"import/group-exports": "off",
|
|
"import/no-extraneous-dependencies": "off",
|
|
"new-cap": "off",
|
|
"no-inline-comments": "off",
|
|
"no-shadow": "warn",
|
|
"no-use-before-define": "off",
|
|
}
|
|
};
|