react-code-dataset / next.js /.eslintrc.cli.json
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Invalid JSON: Expected property name or '}' in JSON at line 6, column 7
{
"$schema": "https://json.schemastore.org/eslintrc",
"extends": [".eslintrc.json"],
"overrides": [
{
// This override adds type-checked rules.
"files": ["**/*.ts", "**/*.tsx"],
// Linting with type-checked rules is very slow and needs a lot of memory,
// so we exclude non-essential files.
"excludedFiles": [
"examples/**/*",
"test/**/*",
"**/*.d.ts",
"turbopack/**/*"
],
"parserOptions": {
"project": true
},
// These rules are added on top of the rules that are declared in
// .eslintrc.json for the matching files.
"rules": {
// TODO: enable in follow-up PR
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/switch-exhaustiveness-check": "error"
}
}
]
}