mirror of
https://github.com/danog/react-datalist-input.git
synced 2024-12-12 17:37:33 +01:00
26 lines
839 B
Plaintext
26 lines
839 B
Plaintext
{
|
|
"extends": "airbnb",
|
|
"parser": "babel-eslint",
|
|
"env": {
|
|
"browser": true,
|
|
"jasmine": true
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"indent": ["error", 4],
|
|
"react/jsx-indent": ["error", 4],
|
|
"react/jsx-indent-props": ["error", 4],
|
|
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
|
"space-in-parens": [ 2, "always" ],
|
|
"template-curly-spacing": [ 2, "always" ],
|
|
"array-bracket-spacing": [ 2, "always" ],
|
|
"object-curly-spacing": [ 2, "always" ],
|
|
"computed-property-spacing": [ 2, "always" ],
|
|
"space-infix-ops": [2, {"int32Hint": false}],
|
|
"react/prop-types": [2],
|
|
"react/require-default-props": [2],
|
|
"no-underscore-dangle": [ "error", { "allow": [ "_id" ] } ]
|
|
}
|
|
} |