mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00

* Chore: Pretier for consistant formatting - TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes. * Revert prettier config * Run npm install * Fix prettier config and ignore package lock * Run format --------- Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
26 lines
527 B
JSON
26 lines
527 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"rules": {
|
|
"@typescript-eslint/naming-convention": [
|
|
"warn",
|
|
{
|
|
"selector": "import",
|
|
"format": ["camelCase", "PascalCase"]
|
|
}
|
|
],
|
|
"@typescript-eslint/semi": "off",
|
|
"curly": "warn",
|
|
"eqeqeq": "warn",
|
|
"no-throw-literal": "warn",
|
|
"semi": "off",
|
|
"react-hooks/exhaustive-deps": "off"
|
|
},
|
|
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
|
|
}
|