sonzai/.eslintrc.js

45 lines
597 B
JavaScript
Raw Normal View History

2020-03-07 09:23:17 +01:00
module.exports = {
2020-03-11 08:56:36 +01:00
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
},
"settings": {
"react": {
"version": "detect"
}
}
2020-03-07 09:23:17 +01:00
};