Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2e5c914

Browse files
committed
Rename cpplint.js to cpp.lint.js
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 282f3e3 commit 2e5c914

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
# leetcode-cli-plugins
22
3rd party plugins for leetcode-cli
33

4+
|Plugin|Description|
5+
|-|-|
6+
|company.js|Filter question by company tag.|
7+
|cpp.lint.js|Run cpplint to check syntax before running test.|
8+
49
## HOWTO
510

611
You can install the plugins in either ways below:
712

8-
### Install Command
13+
### Quick Install
914

1015
$ leetcode install <plugin file>
1116

12-
### Install Manually
17+
### Manually Install
1318

1419
Copy the plugin file to the sub folder `lib/plugins/` where leetcode-cli installed.
1520

cpplint.js renamed to cpp.lint.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ var Plugin = require('../plugin');
1313
// You can disable/enable some checks in "flags" section.
1414
//
1515
// "PLUGINS": {
16-
// "cpplint": {
16+
// "cpp.lint": {
1717
// "bin": "<path of cpplint script>",
1818
// "flags": [
1919
// "-whitespace/indent",
2020
// <other flags>
2121
// ]
2222
// }
2323
// }
24-
var plugin = new Plugin(100, 'cpplint', '2017.07.25',
24+
var plugin = new Plugin(100, 'cpp.lint', '2017.07.27',
2525
'Plugin to do static code check on c++ code.');
2626

2727
var DEFAULT_FLAGS = [

0 commit comments

Comments
 (0)