Last active
June 20, 2018 10:45
-
-
Save Vchekryzhov/daba22a2f99a538f319839dbf194f432 to your computer and use it in GitHub Desktop.
esLint
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
{ | |
esversion: 6, | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"globals": { | |
'ko': true, | |
"$":true, | |
"jQuery":true, | |
"EventBus": true, | |
"i18n": true | |
}, | |
"extends": "eslint:recommended", | |
"rules": { | |
"indent": ["error", 2], | |
"linebreak-style": ["error", "unix"], | |
"semi": ["error", "always"], | |
"comma-dangle": ["error", "only-multiline"], | |
"no-cond-assign": ["error", "always"], | |
"no-console": ["warn", { allow: ["warn", "error"] }], | |
"space-in-parens": ["error", "always"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment