advent_of_code_2023/.eslintrc.js

35 lines
795 B
JavaScript
Raw Normal View History

2023-12-06 19:39:05 +00:00
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
// project: "./tsconfig.json",
},
settings: {
react: {
version: "detect",
},
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
// Add more specific rules if needed
],
rules: {
// Add custom rules or override existing ones here
},
overrides: [
{
files: ["*.js"],
rules: {
"@typescript-eslint/no-var-requires": "off",
// Additional JavaScript specific rules
},
},
],
};