Last active
September 30, 2021 20:06
-
-
Save bcomnes/2cefcc96d408a78a880dc3a489b998cb to your computer and use it in GitHub Desktop.
Sublime custom syntax reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": | |
[ | |
{ | |
"path": ".", | |
} | |
], | |
"settings": { | |
"project_syntaxes": [ | |
{ | |
"syntax": "User/JS Custom/Syntaxes/React", | |
"rules": [ | |
{"file_path": ".*\\.js$",}, | |
], | |
} | |
], | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": | |
[ | |
{ | |
"path": ".", | |
}, | |
], | |
"settings": { | |
"SublimeLinter.linters.eslint.selector": "source.jsx, source.tsx, source.ts, source.js - meta.attribute-with-value", | |
"project_syntaxes": [ | |
{ | |
"syntax": "User/JS Custom/Syntaxes/React", | |
"rules": [ | |
{"file_path": ".*\\.js$",}, | |
], | |
} | |
], | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": | |
[ | |
{ | |
"path": ".", | |
}, | |
], | |
"settings": { | |
"SublimeLinter.linters.eslint.selector": "source.jsx, source.tsx, source.ts, source.js - meta.attribute-with-value", | |
"project_syntaxes": [ | |
{ | |
"syntax": "User/JS Custom/Syntaxes/React", | |
"rules": [ | |
{"file_path": ".*\\.js$",}, | |
], | |
} | |
], | |
"standard_format": { | |
"format_on_save": true, | |
"commands": [ | |
["eslint_d", "--stdin", "--fix-to-stdout", "--stdin-filename", "{FILENAME}"] | |
] | |
} | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": | |
[ | |
{ | |
"path": ".", | |
}, | |
], | |
"settings": { | |
"SublimeLinter.linters.eslint.selector": "source.jsx, source.tsx, source.ts, source.js - meta.attribute-with-value" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment