Last active
June 13, 2017 15:16
-
-
Save stramel/6e8e3da93a87320aee9a7b97d762603b to your computer and use it in GitHub Desktop.
Linter files
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
module.exports = { | |
'extends': ['eslint:recommended', 'google'], | |
'env': { | |
browser: true, | |
es6: true | |
}, | |
'globals': { | |
Polymer: true | |
}, | |
'rules': { | |
// 2 == error, 1 == warning, 0 == off | |
'arrow-parens': [2, 'always'], | |
'indent': [2, 2, { | |
SwitchCase: 1, | |
VariableDeclarator: 2 | |
}], | |
'prefer-const': 2, | |
'no-unused-expressions': [2, { | |
allowShortCircuit: true, | |
allowTernary: false | |
}], | |
'no-unused-vars': [2, { | |
vars: 'all', | |
args: 'after-used' | |
}] | |
} | |
}; |
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
# Use https instead of git and git+ssh | |
[url "https://github.com/"] | |
insteadOf = git://github.com/ | |
[url "https://github.com/"] | |
insteadOf = [email protected]: | |
[url "https://github.com/"] | |
insteadOf = ssh://[email protected]: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment