Created
August 7, 2019 10:23
-
-
Save kutyel/41f74154abe899e90c9fad1fe1453e48 to your computer and use it in GitHub Desktop.
Personal JS options ππ
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
Show hidden characters
{ | |
"presets": [ | |
"@babel/preset-react", | |
[ | |
"@babel/preset-env", | |
{ | |
"targets": { | |
"browsers": [ | |
"last 2 versions", | |
"ie >= 11" | |
] | |
} | |
} | |
] | |
], | |
"plugins": [ | |
"@babel/plugin-transform-react-jsx", | |
"@babel/plugin-proposal-class-properties", | |
"@babel/plugin-proposal-optional-chaining" | |
] | |
} |
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
{ | |
"extends": [ | |
"prettier", | |
"prettier/react" | |
], | |
"plugins": [ | |
"react" | |
], | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
} | |
}, | |
"rules": { | |
"react/jsx-uses-react": "warn", | |
"react/jsx-uses-vars": "warn", | |
"no-unused-vars": [ | |
"warn", | |
{ | |
"varsIgnorePattern": "React" | |
} | |
] | |
} | |
} |
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
{ | |
"semi": false, | |
"singleQuote": true, | |
"trailingComma": "es5" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment