Comments (3)
Thank you very for your quick answer. I managed to get both eslint
and stylelint
(for scss) to work with SublimeLinter by adding: "syntax map": {"naomi.fjsx15": "javascript", "naomi.scss3": "scss"}
from naomi.
Go to Preferences > Package Settings > SublimeLinter > Settings - User
and add "naomi.fjsx15": "javascript"
to the syntax_map
section. Here's my settings:
{
"user": {
"debug": true,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "background",
"linters": {
"eslint": {
"@disable": false,
"args": [],
"excludes": []
}
},
"mark_style": "outline",
"no_column_highlights_line": false,
"passive_warnings": false,
"paths": {
"linux": [],
"osx": [],
"windows": [
"C:\\Program Files\\nodejs"
]
},
"python_paths": {
"linux": [],
"osx": [],
"windows": []
},
"rc_search_limit": 3,
"shell_timeout": 10,
"show_errors_on_save": false,
"show_marks_in_minimap": true,
"syntax_map": {
"html (django)": "html",
"html (rails)": "html",
"html 5": "html",
"javascript (babel)": "javascript",
"magicpython": "python",
"php": "html",
"python django": "python",
"pythonimproved": "python",
"naomi.fjsx15": "javascript"
},
"warning_color": "DDB700",
"wrap_find": true
}
}
from naomi.
I am still not sure why sublime linter is requiring the syntax file naomi.fjsx15
name instead of the syntax name FJSX15+
.
from naomi.
Related Issues (20)
- Support for and other html tags
- Side bar file icons problem
- Single-line commenting shifts line indent HOT 2
- JS: Add syntax highlighting for .cjs extension
- Support TypeScript HOT 2
- Support tailwindcss directives HOT 1
- Typescript support ? HOT 1
- Backtick inside JSX prop={} doesn't auto-pair
- Styled-components syntax highlighting syntax with nested
- [JS/Flow] Implicit return values break syntax highlighting when `<` or `>` used in type definitions
- HTML files are wrapped hardly by default HOT 2
- Emmet not working anymore HOT 1
- flow comment type break newline
- JS: function-assigned-to-variable unnecessary space after `function`
- Error loading syntax file "Packages/PHP/PHP.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit HOT 4
- Space after `function` breaks highlighting
- Styled Components CSS helper breaks highlighting
- Removes detected symbols from javascript code (requires additional space character)
- typescript type for styled component breaks syntax highlighting
- Naomi appears to break Sublime Text (4?) indexer, causes 100% cpu usage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naomi.