traxxx/.eslintrc

24 lines
670 B
Plaintext

{
"root": true,
"parser": "babel-eslint",
"extends": ["airbnb", "plugin:react/recommended"],
"plugins": ["react"],
"parserOptions": {
"sourceType": "script",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"strict": 0,
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
"no-console": 0,
"indent": ["error", 4],
"max-len": [2, {"code": 200, "tabWidth": 4, "ignoreUrls": true}],
"react/jsx-uses-vars": 2,
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/jsx-one-expression-per-line": "off",
}
}