Skip to content

my .eslintrc.js file, set to my preferred coding style

Notifications You must be signed in to change notification settings

joeMalmsten/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Eslint config file

Eslint is a linter used in sublime text to highlight any style or syntax errors you specify in code. It's a pretty helpful tool for maintaining a consistent and easy to read style, if you are interested read more here.

CLI version of Eslint is found here.

If you want to read more about the sublime base linter click here.

If you are new to sublime plugins or package control read more about them here.

Setup

Download the .eslintrc.js file and place it in ~/ directory, or in the base directory of your project. Tweak values are per your personal style, go to the Eslint rules docs for more info on what each rule does.

Extra Plugins

Here is a list of other sublime text plugins I use.

Package Control will let you install any of a huge number of packages made specifically for sublime. Some of the packages I use are:

Git: gives you the ability to use git commands from sublime, super useful.

SublimeCodeIntel: gives the user a powerful code intellisense and autocomplete in sublime.

Emmet: use css-like shorthand to create HTML incredibly fast, also provides tons of amazing keyboard shortcuts to improve productivity. Click here to get to the Emmet homepage.

Sublime Linter: Sublime’s base linter, eslint requires this to work. Used to maintain code quality while writing the code itself.

Eslint: the most powerful Javascript linter I have personally used. Takes a little setup out of the box, creating the main config file(I’m going to send you mine so you are good to go) but it allows for the best customizability I’ve seen out of any linter.

HTML5: adds HTML5 syntax mode and snippets to sublime.

SideBarEnhancements: makes the side bar on sublime much more powerful, get to do a lot of things you normally wouldn’t

About

my .eslintrc.js file, set to my preferred coding style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published