-
- Downloads
Adds in eslintrc for the Airbnb ES5 styleguide.
Per discussion here: https://github.com/ProjectMirador/mirador/issues/1318 The Airbnb canonical style is maintained by AirBnb in .eslintrc. Adding this will allow developers to use the style for their new changes in their preferred editor.
.eslintrc
0 → 100644
... | ... | @@ -8,6 +8,9 @@ |
}, | ||
"license": "Apache-2.0", | ||
"devDependencies": { | ||
"eslint": "^3.17.1", | ||
"eslint-config-airbnb-base": "^11.1.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"gitbook": "3.2.0", | ||
"gitbook-cli": "2.3.0", | ||
"gitbook-plugin-search": "2.2.1", | ||
... | ... | @@ -27,6 +30,7 @@ |
"grunt-git-describe": "*", | ||
"grunt-githooks": "^0.3.1", | ||
"grunt-template-jasmine-istanbul": "^0.3.3", | ||
"gruntify-eslint": "^3.1.0", | ||
"jasmine-core": "^2.1.3", | ||
"jasmine-jquery": "^2.0.5", | ||
"karma": "^1.5", | ||
... | ... | @@ -46,7 +50,8 @@ |
"start": "./node_modules/.bin/grunt serve", | ||
"test": "./node_modules/.bin/karma start ./karma.conf.js", | ||
"travis": "./node_modules/.bin/grunt ci --verbose --force & npm run test", | ||
"update_demo": "./bin/update_demo.sh" | ||
"update_demo": "./bin/update_demo.sh", | ||
"lint": "./node_modules/.bin/eslint js/src" | ||
}, | ||
"dependencies": { | ||
"bootbox": "^4.4.0", | ||
... | ... |
Please register or sign in to comment