ecency-mobile/.eslintrc.js
2018-09-22 23:02:45 +03:00

23 lines
383 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", "space"],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
},
};