Skip to content

Commit

Permalink
Change the default config file to .jscsrc and bump version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesherov committed Mar 14, 2014
1 parent a13ade0 commit 582b8d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -43,9 +43,9 @@ To install via Package Control, do the following:
## Settings
For general information on how SublimeLinter works with settings, please see [Settings](http://sublimelinter.readthedocs.org/en/latest/settings.html). For information on generic linter settings, please see [Linter Settings](http://sublimelinter.readthedocs.org/en/latest/linter_settings.html).

Since this plugin is executing `jscs` on your system, you may use `.jscs.json` files to configure its behavior. See the [jscs documentation](https://github.com/mdevils/node-jscs#configuration) for more information.
Since this plugin is executing `jscs` on your system, you may use `.jscsrc` files to configure its behavior. See the [jscs documentation](https://github.com/mdevils/node-jscs#configuration) for more information.

**Note**: Whereas `jscs` only looks in the linted file’s directory for a `.jscs.json` file, this linter plugin extends that behavior by searching the file hierarchy up to the root directory and then in the user’s home directory.
**Note**: Whereas `jscs` only looks in the linted file’s directory for a `.jscsrc` file, this linter plugin extends that behavior by searching the file hierarchy up to the root directory and then in the user’s home directory.

## Contributing
If you would like to contribute enhancements or fixes, please do the following:
Expand Down
2 changes: 1 addition & 1 deletion linter.py
Expand Up @@ -32,4 +32,4 @@ class Jscs(Linter):
multiline = True
selectors = {'html': 'source.js.embedded.html'}
tempfile_suffix = 'js'
config_file = ('--config', '.jscs.json', '~')
config_file = ('--config', '.jscsrc', '~')
3 changes: 2 additions & 1 deletion messages.json
@@ -1,4 +1,5 @@
{
"install": "messages/install.txt",
"1.0.2": "messages/1.0.2.txt"
"1.0.2": "messages/1.0.2.txt",
"2.0.0": "messages/2.0.0.txt"
}
5 changes: 5 additions & 0 deletions messages/2.0.0.txt
@@ -0,0 +1,5 @@
SublimeLinter-jscs 2.0.0
-------------------------
The default configuration file for `jscs` is now
`.jscsrc` instead of `.jscs.json`. Please consider
renaming this file.

0 comments on commit 582b8d5

Please sign in to comment.