Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work with SublimeLinter #7

Closed
juandaco opened this issue Feb 9, 2017 · 3 comments
Closed

It doesn't work with SublimeLinter #7

juandaco opened this issue Feb 9, 2017 · 3 comments
Labels

Comments

@juandaco
Copy link

juandaco commented Feb 9, 2017

Thank you for this, it's a great syntax highlighting/color scheme combo. I'm just wondering, Do you know how can I make it work with SublimeLinter?

@borela
Copy link
Owner

borela commented Feb 9, 2017

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
  }
}

@borela
Copy link
Owner

borela commented Feb 9, 2017

I am still not sure why sublime linter is requiring the syntax file naomi.fjsx15 name instead of the syntax name FJSX15+.

@juandaco
Copy link
Author

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"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants