ecency-mobile/.eslintrc.js
2018-09-28 02:16:24 +03:00

23 lines
476 B
JavaScript

module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
},
extends: "eslint:recommended",
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: "module",
},
plugins: ["react"],
rules: {
indent: ["error", 2],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
},
};