mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 10:35:20 +00:00
892ffe8787
FE-136: form api refactoring
36 lines
693 B
JSON
36 lines
693 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"extends": "eslint:recommended",
|
|
"rules": {
|
|
"quotes": [2, "single"],
|
|
"no-var": 2,
|
|
"camelcase": 2,
|
|
"no-tabs": 2,
|
|
"prefer-const": 2,
|
|
"arrow-spacing": 2,
|
|
"no-confusing-arrow": 2,
|
|
"no-duplicate-imports": 2,
|
|
"no-restricted-imports": 2,
|
|
"no-useless-computed-key": 2,
|
|
"no-useless-constructor": 2,
|
|
"no-useless-rename": 2,
|
|
"no-console": 0,
|
|
"no-empty": 0,
|
|
"react/jsx-uses-react": "error",
|
|
"react/jsx-uses-vars": "error"
|
|
}
|
|
}
|