mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-06 04:19:37 +00:00
29 lines
709 B
JavaScript
29 lines
709 B
JavaScript
/* eslint-env node */
|
|
module.exports = {
|
|
root: true,
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint"],
|
|
settings: {
|
|
"import/resolver": {
|
|
typescript: true,
|
|
node: true,
|
|
},
|
|
},
|
|
rules: {
|
|
// Handled by typescript compiler
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/ban-types": "off",
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"import/no-named-as-default-member": "off",
|
|
|
|
"import/no-default-export": "error",
|
|
},
|
|
};
|