Sublime Forum

Invalid settings in 'Packages/User/SublimeLinter.sublime-settings':

#1

Invalid settings in ‘Packages/User/SublimeLinter.sublime-settings’:
Additional properties are not allowed (‘user’ was unexpected)

Any idea why I am getting this error and how can I solve this?

{
“user”: {
“debug”: false,
“delay”: 0.25,
“error_color”: “cd3227”,
“gutter_theme”: “Packages/SublimeLinter/gutter-themes/Danish Royalty/Danish Royalty.gutter-theme”,
“gutter_theme_excludes”: [],
“lint_mode”: “background”,
“linters”: {
“csslint”: {
@disable”: false,
“args”: [],
“errors”: “”,
“excludes”: [],
“ignore”: [
“outline-none”,
“box-sizing”,
“ids”,
“adjoining-classes”,
“floats”,
“qualified-headings”,
“unique-headings”,
“important”,
“universal-selector”,
“box-model”,
“font-faces”,
“font-sizes”,
“order-alphabetical”,
“overqualified-elements”,
“zero-units”,
“star-property-hack”,
“unqualified-attributes”,
“known-properties”,
“duplicate-properties”,
“shorthand”,
“display-property-grouping”,
“regex-selectors”,
“compatible-vendor-prefixes”,
“gradients”
],
“warnings”: “”
},
“eslint”: {
@disable”: true,
“args”: [],
“excludes”: []
},
“hlint”: {
@disable”: false,
“args”: [],
“excludes”: []
},
“htmltidy”: {
@disable”: false,
“args”: [],
“excludes”: [],
“ignore_match”: [
“”
],
“warnings”: “”
},
“jscs”: {
@disable”: true,
“args”: [],
“excludes”: []
},
“jshint”: {
@disable”: false,
“args”: [],
“excludes”: [],
“tab_size”: 4
},
“jslint”: {
@disable”: true,
“args”: [],
“excludes”: []
},
“php”: {
@disable”: false,
“args”: [],
“excludes”: []
},
“phpcs”: {
@disable”: false,
“args”: [],
“excludes”: [],
“standard”: “PSR2”
},
“sass”: {
@disable”: true,
“args”: [],
“excludes”: [],
“ignore”: [
“no-css-comments”
]
},
“summitlinter”: {
@disable”: false,
“args”: [],
“excludes”: [],
“globals”: “”,
“ignore”: “channel”,
“limit”: null,
“only”: “”
}
},
“mark_style”: “outline”,
“no_column_highlights_line”: false,
“passive_warnings”: false,
“paths”: {
“linux”: [],
“osx”: [],
“windows”: []
},
“python_paths”: {
“linux”: [],
“osx”: [],
“windows”: []
},
“rc_search_limit”: 3,
“shell_timeout”: 10,
“show_errors_on_save”: true,
“show_marks_in_minimap”: true,
“syntax_map”: {
“coffeescript (gulpfile)”: “coffeescript”,
“html (django)”: “html”,
“html (rails)”: “html”,
“html 5”: “html”,
“javascript (eslint)”: “javascript”,
“javascript (gruntfile)”: “javascript”,
“javascript (gulpfile)”: “javascript”,
“javascript (postcss)”: “javascript”,
“javascript (stylelint)”: “javascript”,
“javascript (webpack)”: “javascript”,
“json (babel)”: “json”,
“json (bower)”: “json”,
“json (composer)”: “json”,
“json (eslint)”: “json”,
“json (npm)”: “json”,
“json (postcss)”: “json”,
“json (settings)”: “json”,
“json (stylelint)”: “json”,
“json (sublime)”: “json”,
“json (tern js)”: “json”,
“php”: “html”,
“python django”: “python”,
“xml (config)”: “xml”,
“xml (svg)”: “xml”,
“yaml (circleci)”: “yaml”,
“yaml (docker)”: “yaml”,
“yaml (eslint)”: “yaml”,
“yaml (lock)”: “yaml”,
“yaml (procfile)”: “yaml”,
“yaml (stylelint)”: “yaml”,
“yaml (yarn)”: “yaml”
},
“tooltip_fontsize”: “1rem”,
“tooltip_theme”: “Packages/SublimeLinter/tooltip-themes/Default/Default.tooltip-theme”,
“tooltip_theme_excludes”: [],
“tooltips”: false,
“use_current_shell_path”: false,
“warning_color”: “66cc33”,
“wrap_find”: true
}
}

0 Likes

#2

Your settings are outdated. SublimeLinter uses a new and different setting system since version 4 and you would do best nuking the old file (maybe with a backup to have something to reference) and starting from scratch. Many things have changed.

0 Likes

#3

How do I update the settings?

0 Likes

#4

Using the documentation and the update message that should have been shown to you as it was updated.

1 Like

#5

Who read all these things? Lol
Thanks for the help :slight_smile:

0 Likes