Skip to content

Instantly share code, notes, and snippets.

@felixangell
Created July 20, 2019 14:53
Show Gist options
  • Save felixangell/e4ef83e2eccceee21c57fa95d8c9ca6e to your computer and use it in GitHub Desktop.
Save felixangell/e4ef83e2eccceee21c57fa95d8c9ca6e to your computer and use it in GitHub Desktop.
otzaf js eslint
module.exports = {
'env': {
'browser': true,
'es6': true
},
'extends': 'eslint:recommended',
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaFeatures': {
'jsx': true
},
'ecmaVersion': 2018,
'sourceType': 'module'
},
'plugins': [
'react'
],
'rules': {
'react/jsx-uses-vars': 2,
'indent': [
'error',
2
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'never'
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment