fis3-parser-client
Version:
Mr. Zhang, Packaged web front-end architecture for PC terminals and so on.
61 lines (57 loc) • 1.23 kB
JavaScript
var globals = [
"process",
"global",
"window",
"arguments",
"__filename",
"__dirname",
"__uri",
"__inline",
"__lazyload",
"requireExt",
"KQB",
"app",
"Dom7",
"Framework7",
"_",
"$$",
"$",
"ReactDOM",
"React",
"_hmt"
];
var globalsTrue = {};
globals.forEach(function(key) {
globalsTrue[key] = true;
});
module.exports = {
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended"],
"globals": globalsTrue,
"env": {
"browser": true,
"commonjs": true,
"amd": true,
"es6": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react", "babel"],
"rules": {
"react/prop-types": "off",
"react/display-name": "off",
"no-console": "off",
"no-unused-vars": "off",
"linebreak-style": 0,
"quotes": "off",
"semi": "off",
"no-undef": "off",
"no-extra-semi": "off",
"no-empty": "off"
}
};