aframe-click-drag-component/.eslintrc

25 lines
696 B
Text
Raw Normal View History

2015-12-18 23:36:21 +00:00
{
"env": {
"browser": true
},
"extends": "airbnb",
"rules": {
"react/prefer-stateless-function": "off",
"react/sort-comp": "off",
"no-param-reassign": "off",
"padded-blocks": "off",
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"react/prefer-es6-class": ["error", "never"],
"object-curly-spacing": ["error", "never"],
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"no-unused-vars": ["error", { "argsIgnorePattern": "_" }],
"new-cap": ["error", { "capIsNewExceptions": ["React.Children"] }]
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
}
}
}