-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
99 changed files
with
2,966 additions
and
2,529 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,61 @@ | ||
{ | ||
"extends": "eslint:recommended", | ||
"ecmaVersion": 2015, | ||
"env": { | ||
"es6": true, | ||
"mocha": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"array-bracket-spacing": 2, | ||
"brace-style": 2, | ||
"camelcase": 2, | ||
"comma-dangle": 0, | ||
"comma-spacing": 2, | ||
"comma-style": 2, | ||
"computed-property-spacing": 2, | ||
"curly": 2, | ||
"dot-location": [2, "property"], | ||
"dot-notation": 2, | ||
"eol-last": 2, | ||
"eqeqeq": 2, | ||
"guard-for-in": 2, | ||
"indent": [2, 4, { | ||
"array-bracket-spacing": "error", | ||
"arrow-body-style": ["error", "always"], | ||
"arrow-parens": "error", | ||
"brace-style": "error", | ||
"camelcase": "error", | ||
"comma-dangle": "off", | ||
"comma-spacing": "error", | ||
"comma-style": "error", | ||
"computed-property-spacing": "error", | ||
"curly": "error", | ||
"dot-location": ["error", "property"], | ||
"dot-notation": "error", | ||
"eol-last": "error", | ||
"eqeqeq": "error", | ||
"guard-for-in": "error", | ||
"indent": ["error", 4, { | ||
"SwitchCase": 1, | ||
"VariableDeclarator": 0 | ||
}], | ||
"key-spacing": 2, | ||
"keyword-spacing": [2, { | ||
"key-spacing": "error", | ||
"keyword-spacing": ["error", { | ||
"after": true, | ||
"before": true | ||
}], | ||
"newline-after-var": 2, | ||
"no-caller": 2, | ||
"no-console": 2, | ||
"no-else-return": 2, | ||
"no-eval": 2, | ||
"no-extend-native": 2, | ||
"no-lonely-if": 2, | ||
"no-loop-func": 2, | ||
"no-multi-spaces": 2, | ||
"no-trailing-spaces": 2, | ||
"one-var": [2, "never"], | ||
"quotes": [2, "single", "avoid-escape"], | ||
"semi": 2, | ||
"space-before-blocks": 2, | ||
"space-before-function-paren": 2, | ||
"space-in-parens": 2, | ||
"space-unary-ops": [2, { | ||
"no-bitwise": "error", | ||
"no-caller": "error", | ||
"no-console": "error", | ||
"no-const-assign": "error", | ||
"no-else-return": "error", | ||
"no-eval": "error", | ||
"no-extend-native": "error", | ||
"no-lonely-if": "error", | ||
"no-loop-func": "error", | ||
"no-multi-spaces": "error", | ||
"no-trailing-spaces": "error", | ||
"no-var": "error", | ||
"prefer-const": "error", | ||
"quotes": ["error", "single", "avoid-escape"], | ||
"semi": "error", | ||
"space-before-blocks": "error", | ||
"space-before-function-paren": "error", | ||
"space-in-parens": "error", | ||
"space-infix-ops": "error", | ||
"space-unary-ops": ["error", { | ||
"nonwords": false, | ||
"words": true | ||
}], | ||
"strict": [2, "global"], | ||
"vars-on-top": 2, | ||
"yoda": 2 | ||
"strict": ["error", "global"], | ||
"template-curly-spacing": ["error", "always"], | ||
"yoda": "error" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- | ||
Please include as much information as possible about your issue/request. | ||
Not all headers below are relevant for all issues, if something's irrelevant, just remove it. | ||
--> | ||
|
||
**Which version of `lesshint` are you using?** | ||
|
||
**How are you running `lesshint`? CLI, Node.js API, Grunt/Gulp plugin?** | ||
|
||
**What's your `.lesshintrc` configuration?** | ||
|
||
```js | ||
// Code here | ||
``` | ||
|
||
**If you're reporting a bug, please show us some code that's failing.** | ||
|
||
```less | ||
// Code here | ||
``` | ||
|
||
**What did you expect to happen?** | ||
|
||
**What's the actual result?** | ||
|
||
**Would you be interested in submitting a PR for this issue?** |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- | ||
If you're submitting a PR for a new feature, please open an issue about it first so we can discuss it. | ||
If you're submitting a PR for something else, for example a documentation fix, go right ahead! | ||
--> | ||
|
||
**Which issue, if any, does this resolve?** | ||
|
||
**Is there anything in this PR that needs extra explaining or should something specific be focused on?** |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.