fork from bc4552c5a8
This commit is contained in:
32
.eslintrc.js
Normal file
32
.eslintrc.js
Normal file
@@ -0,0 +1,32 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
"browser": true,
|
||||
"commonjs": true,
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
extends: ["eslint:recommended", "plugin:react/recommended"],
|
||||
parser: "babel-eslint",
|
||||
parserOptions: {
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
},
|
||||
"sourceType": "module"
|
||||
},
|
||||
plugins: [
|
||||
"react",
|
||||
"import"
|
||||
],
|
||||
rules: {
|
||||
"indent": ["off", 2],
|
||||
"react/display-name": ["off"],
|
||||
"react/jsx-indent": ["error", 2],
|
||||
"comma-dangle": ["error", "never"],
|
||||
"no-console": ["off"],
|
||||
"import/no-unresolved": ["off"],
|
||||
"react/no-find-dom-node": ["off"],
|
||||
"no-empty": ["off"]
|
||||
// "react/no-unescaped-entities": 0
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user