parent
ed30c3a6a1
commit
ce7163cc0a
31
.eslintrc
31
.eslintrc
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"plugins": ["react", "lodash3"],
|
||||
"plugins": ["lodash3"],
|
||||
"rules": {
|
||||
"no-array-constructor": 2,
|
||||
"no-catch-shadow": 2,
|
||||
|
@ -142,32 +142,11 @@
|
|||
|
||||
"no-useless-concat": 1,
|
||||
"block-spacing": [0, "always"],
|
||||
"require-jsdoc": 0,
|
||||
"global-require": 1,
|
||||
"no-restricted-syntax": [2, "WithStatement"],
|
||||
|
||||
"react/display-name": 2,
|
||||
"react/jsx-boolean-value": 1,
|
||||
"react/jsx-closing-bracket-location": 1,
|
||||
"react/jsx-curly-spacing": 1,
|
||||
"react/jsx-indent-props": 1,
|
||||
"react/jsx-max-props-per-line": 1,
|
||||
"react/jsx-no-duplicate-props": 1,
|
||||
"react/jsx-no-undef": 1,
|
||||
"react/jsx-quotes": 1,
|
||||
"react/jsx-sort-prop-types": 1,
|
||||
"react/jsx-sort-props": 1,
|
||||
"react/jsx-uses-react": 1,
|
||||
"react/jsx-uses-vars": 1,
|
||||
"react/no-danger": 1,
|
||||
"react/no-did-mount-set-state": 1,
|
||||
"react/no-did-update-set-state": 1,
|
||||
"react/no-multi-comp": 1,
|
||||
"react/no-set-state": 0,
|
||||
"react/no-unknown-property": 1,
|
||||
"react/prop-types": 1,
|
||||
"react/react-in-jsx-scope": 1,
|
||||
"react/require-extension": 1,
|
||||
"react/self-closing-comp": 1,
|
||||
"react/sort-comp": 1,
|
||||
"react/wrap-multilines": 1,
|
||||
"no-negated-condition": 1,
|
||||
|
||||
"lodash3/prop-shorthand": 2,
|
||||
"lodash3/matches-prop-shorthand": 2,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/*eslint semi:0,no-unused-expressions:0,no-extra-parens:0,strict:0*/
|
||||
({
|
||||
baseUrl: 'playground',
|
||||
//name: 'node_modules/almond/almond.js', // assumes a production build using almond
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"rt": "./bin/rt.js"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"test": "node test/src/test.js",
|
||||
"test-cov": "istanbul cover test/src/test.js -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
|
||||
"patch": "npm version patch -m\"update version to %s\" && git push && git push --tags",
|
||||
|
@ -39,7 +40,7 @@
|
|||
"brfs": "^1.4.1",
|
||||
"coveralls": "^2.11.4",
|
||||
"eslint-plugin-lodash3": "^0.1.9",
|
||||
"eslint-plugin-react": "^3.5.0",
|
||||
"eslint-plugin-react": "^3.5.1",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-browserify": "^4.0.0",
|
||||
"grunt-contrib-requirejs": "^0.4.4",
|
||||
|
@ -47,11 +48,11 @@
|
|||
"grunt-contrib-watch": "^0.6.1",
|
||||
"grunt-eslint": "^17.2.0",
|
||||
"grunt-node-tap": "^0.1.61",
|
||||
"istanbul": "^0.3.21",
|
||||
"istanbul": "^0.3.22",
|
||||
"react": "^0.12.2",
|
||||
"react-native": "^0.9.0",
|
||||
"react-native": "^0.11.4",
|
||||
"react-templates": "^0.1.22",
|
||||
"tape": "^4.2.0"
|
||||
"tape": "^4.2.1"
|
||||
},
|
||||
"keywords": [
|
||||
"templates",
|
||||
|
|
Loading…
Reference in New Issue