mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-23 03:02:50 +03:00
ecode: Added linter and formatter support for JSX.
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
},
|
||||
"formatters": [
|
||||
{
|
||||
"language": ["javascript", "typescript"],
|
||||
"file_patterns": ["%.js$", "%.ts$"],
|
||||
"language": ["javascript", "typescript", "JSX"],
|
||||
"file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$"],
|
||||
"command": "prettier $FILENAME"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
"use_tmp_folder": true
|
||||
},
|
||||
{
|
||||
"language": ["javascript", "typescript"],
|
||||
"file_patterns": ["%.js$", "%.ts$"],
|
||||
"language": ["javascript", "typescript", "JSX"],
|
||||
"file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$"],
|
||||
"warning_pattern": "[^:]:(%d+):(%d+): ([^%[]+)%[([^\n]+)",
|
||||
"warning_pattern_order": { "line": 1, "col": 2, "message": 3, "type": 4 },
|
||||
"command": "eslint --no-ignore --format unix $FILENAME"
|
||||
|
||||
Reference in New Issue
Block a user