File tree Expand file tree Collapse file tree 3 files changed +39
-32811
lines changed
rest_framework_docs/static Expand file tree Collapse file tree 3 files changed +39
-32811
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "rules": {
3+ "max-len": [1, 100, 2],
4+ "no-undef": 2,
5+ "no-unreachable": 2,
6+ "no-unused-vars": 2,
7+ "no-undef-init": 2,
8+ "no-multiple-empty-lines": [2, {"max": 2}],
9+ "indent": [2, 2],
10+ "semi": 2,
11+ "strict": 0,
12+ "space-after-keywords": 2,
13+ "space-before-keywords": 2,
14+ "space-before-blocks": 2,
15+ "space-before-function-paren": 0,
16+ "space-infix-ops": 2,
17+ "space-return-throw-case": 2,
18+ "space-unary-ops": 2,
19+ "quotes": [1, "single", "avoid-escape"]
20+ },
21+ "env": {
22+ "browser": true,
23+ "node": true,
24+ "es6": true
25+ },
26+ "ecmaFeatures": {
27+ "jsx": true,
28+ "modules": true
29+ },
30+ "plugins": [
31+ "react"
32+ ]
33+ }
Original file line number Diff line number Diff line change 1313 "watch" : " npm run watch-js & npm run watch-less" ,
1414 "build" : " npm run build-font-awesome && npm run build-bootstrap-fonts && npm run build-less" ,
1515 "start" : " npm run build && npm run watch-less" ,
16- "test" : " echo \" Error: no test specified\" && exit 1"
16+ "lint" : " eslint 'rest_framework_docs/js/' --ignore-pattern 'rest_framework_docs/js/dist.js' --plugin eslint-plugin-react" ,
17+ "test" : " npm run lint"
1718 },
1819 "repository" : {
1920 "type" : " git" ,
4849 "underscore.string" : " =3.2.2"
4950 },
5051 "devDependencies" : {
52+ "babel-eslint" : " =4.1.6" ,
53+ "eslint" : " =1.10.3" ,
54+ "eslint-plugin-react" : " =3.11.3" ,
5155 "less" : " =2.5.3" ,
5256 "less-plugin-clean-css" : " =1.5.1" ,
5357 "minifyify" : " =7.1.0" ,
You can’t perform that action at this time.
0 commit comments