Last active
June 4, 2019 03:57
-
-
Save M-Drummond/d8bfba6c2325e57f4e617d868d2903f5 to your computer and use it in GitHub Desktop.
Basic Punchbuggy eslint setup
This file contains hidden or 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
public/assets | |
web/assets/ | |
node_modules | |
*.min.js | |
src/js/vendor/* | |
gulpfile.js | |
*.html | |
*.twig |
This file contains hidden or 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
Show hidden characters
{ | |
"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 | |
} | |
} |
This file contains hidden or 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
{ | |
"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