Created
April 28, 2019 10:45
-
-
Save ManotLuijiu/4287f30a90dc03451ce72e74449cec8a to your computer and use it in GitHub Desktop.
Eslint and Prettier Configure
This file contains hidden or 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
Show hidden characters
{ | |
"extends": ["airbnb", "prettier"], | |
"plugins": ["prettier"], | |
"rules": { | |
"prettier/prettier": ["error"], | |
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], | |
"react/destructuring-assignment": ["always", { "ignoreClassFields": true }] | |
}, | |
"parser": "babel-eslint" | |
} |
This file contains hidden or 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
{ | |
"endOfLine": "lf", | |
"semi": true, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"trailingComma": "es5" | |
} |
This file contains hidden or 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
{ | |
"editor.tabSize": 2, | |
"editor.formatOnSave": true, | |
"editor.wordWrap": "on", | |
"highlight-matching-tag.styles": { | |
"opening": { | |
"left": { | |
"custom": { | |
"borderWidth": "0 0 0 3px", | |
"borderStyle": "solid", | |
"borderColor": "yellow", | |
"borderRadius": "5px" | |
} | |
}, | |
"right": { | |
"custom": { | |
"borderWidth": "0 3px 0 0", | |
"borderStyle": "solid", | |
"borderColor": "yellow", | |
"borderRadius": "5px" | |
} | |
} | |
} | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact" | |
}, | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx", | |
"javascript": "html" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment