forked from jaredhanson/passport
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Refactoring: Use ES6 classes, destructuring; use
forEach
; declare
variables in more nested scope - Linting: Remove jshint - Linting: Apply overrides to add mocha-specific config - Linting: Add recommended fields to `package.json` - Linting: Remove unused disable directives - Git/npm/Linting: ignore `var`
- Loading branch information
Showing
38 changed files
with
1,081 additions
and
1,187 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,3 +1,4 @@ | ||
.git | ||
coverage/ | ||
node_modules/ | ||
node_modules/ | ||
var/ |
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,24 +1,36 @@ | ||
module.exports = { | ||
env: { | ||
// jest: true, | ||
mocha: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
'airbnb-base', | ||
], | ||
overrides: [ | ||
{ | ||
files: ['test/**'], | ||
env: { | ||
// jest: true, | ||
mocha: true | ||
}, | ||
globals: { | ||
expect: 'readonly' | ||
}, | ||
rules: { | ||
// 'jest/no-disabled-tests': [2], | ||
// 'jest/no-focused-tests': [2], | ||
// 'jest/no-identical-title': [2], | ||
// 'jest/prefer-to-have-length': [2], | ||
// 'jest/valid-expect': [2], | ||
} | ||
} | ||
], | ||
plugins: [ | ||
// 'jest' | ||
], | ||
rules: { | ||
"comma-dangle": 0, | ||
"no-underscore-dangle": 0, | ||
"no-param-reassign": 0, | ||
"prefer-destructuring": 0, | ||
// 'jest/no-disabled-tests': [2], | ||
// 'jest/no-focused-tests': [2], | ||
// 'jest/no-identical-title': [2], | ||
// 'jest/prefer-to-have-length': [2], | ||
// 'jest/valid-expect': [2], | ||
'comma-dangle': 0, | ||
'no-underscore-dangle': 0, | ||
'no-param-reassign': 0, | ||
'prefer-destructuring': 0, | ||
} | ||
}; | ||
}; |
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,5 +1,6 @@ | ||
docs/ | ||
reports/ | ||
var/ | ||
|
||
# Mac OS X | ||
.DS_Store | ||
|
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 |
---|---|---|
|
@@ -5,8 +5,8 @@ docs/ | |
examples/ | ||
reports/ | ||
test/ | ||
var/ | ||
|
||
.github/ | ||
.jshintrc | ||
.travis.yml | ||
.gitlab-ci.yml |
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.