generated from alphane/template
29 lines
689 B
JavaScript
29 lines
689 B
JavaScript
/* eslint-env node */
|
|
|
|
// https://github.com/typescript-eslint/typescript-eslint/issues/251
|
|
module.exports = {
|
|
root: true,
|
|
env: {
|
|
es2020: true,
|
|
node: true,
|
|
},
|
|
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
|
overrides: [],
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint"],
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
args: "all",
|
|
argsIgnorePattern: "^_",
|
|
caughtErrors: "all",
|
|
caughtErrorsIgnorePattern: "^_",
|
|
destructuredArrayIgnorePattern: "^_",
|
|
varsIgnorePattern: "^_",
|
|
ignoreRestSiblings: true,
|
|
},
|
|
],
|
|
},
|
|
}
|