traxxx/.eslintrc

23 lines
618 B
Plaintext
Raw Normal View History

2019-03-02 22:59:15 +00:00
{
"root": true,
"parser": "babel-eslint",
2019-05-08 03:50:13 +00:00
"extends": ["airbnb", "plugin:react/recommended"],
"plugins": ["react"],
2019-03-02 22:59:15 +00:00
"parserOptions": {
"sourceType": "script",
2019-05-08 03:50:13 +00:00
"ecmaFeatures": {
"jsx": true
}
2019-03-02 22:59:15 +00:00
},
"rules": {
"strict": 0,
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
"no-console": 0,
"indent": ["error", 4],
2019-05-08 03:50:13 +00:00
"max-len": [2, {"code": 200, "tabWidth": 4, "ignoreUrls": true}],
"react/jsx-uses-vars": 2,
"react/jsx-indent": ["error", 4],
2019-05-08 23:58:47 +00:00
"react/jsx-indent-props": ["error", 4],
2019-03-02 22:59:15 +00:00
}
}