traxxx/.eslintrc

22 lines
570 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],
}
}