23 lines
475 B
JavaScript
23 lines
475 B
JavaScript
/** @type {import("eslint").Linter.Config } */
|
|
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/base",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
rules: {
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error"],
|
|
},
|
|
};
|