Created
July 15, 2016 22:34
-
-
Save chodorowicz/3b373533cddba8eee5da2b0c952851c9 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
// using airbnb-base | |
// need to change sourceType to script | |
{ | |
"extends": "airbnb-base", | |
"env": { | |
"node": true | |
}, | |
parserOptions: { | |
ecmaVersion: 7, | |
sourceType: "script" | |
}, | |
} |
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
{ | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"rules": { | |
"semi": 2 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment