Skip to content

Instantly share code, notes, and snippets.

@M-Drummond
Last active June 4, 2019 03:57
Show Gist options
  • Save M-Drummond/d8bfba6c2325e57f4e617d868d2903f5 to your computer and use it in GitHub Desktop.
Save M-Drummond/d8bfba6c2325e57f4e617d868d2903f5 to your computer and use it in GitHub Desktop.
Basic Punchbuggy eslint setup
public/assets
web/assets/
node_modules
*.min.js
src/js/vendor/*
gulpfile.js
*.html
*.twig
{
"extends": [
"eslint:recommended",
"airbnb-base"
],
"env": {
"es6": true,
"browser": true,
"jquery": true
},
"rules": {
"indent": [2, "tab", { "SwitchCase": 1, "VariableDeclarator": 1 }],
"class-methods-use-this": "off",
"no-tabs": 0
}
}
{
"debug": true,
"delay": 0.25,
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"lint_mode": "background",
"linters": {
"eslint": {
"@disable": false,
"env": {"PATH":"/usr/local/bin/"},
"args": [],
"excludes": []
},
"jshint": {
"@disable": false,
"args": [],
"excludes": [
"node_modules/*",
"src/vendor/*",
]
},
"jsxhint": {
"@disable": false,
"args": [],
"excludes": []
}
},
"no_column_highlights_line": false,
"paths": {
"linux": [],
"osx": [],
"windows": []
},
"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"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment