// We have to explicitly declare "src" property otherwise "newer"
// task wouldn't work properly :/
dist: {
- src: "dist/jquery.js"
+ src: [ "dist/jquery.js", "dist/jquery.min.js" ]
},
dev: {
src: [ "src/**/*.js", "Gruntfile.js", "test/**/*.js", "build/**/*.js" ]
{
"root": true,
- "extends": "../.eslintrc-browser.json",
+ "parserOptions": {
+ "ecmaVersion": 5,
+ "sourceType": "script"
+ },
- "rules": {
- // That is okay for the built version
- "no-multiple-empty-lines": "off",
+ "overrides": [
+ {
+ "files": "jquery.js",
+ "extends": "../.eslintrc-browser.json",
- // Sizzle is not compatible with jQuery code style
- "no-nested-ternary": "off",
- "no-unused-expressions": "off",
- "no-unused-vars": "off",
- "lines-around-comment": "off",
- "space-in-parens": "off",
- "camelcase": "off",
- "computed-property-spacing": "off",
- "max-len": "off",
- "dot-notation": "off",
- "semi-spacing": "off",
- "brace-style": "off"
- }
+ "rules": {
+ // That is okay for the built version
+ "no-multiple-empty-lines": "off",
+
+ // Sizzle is not compatible with jQuery code style
+ "no-nested-ternary": "off",
+ "no-unused-expressions": "off",
+ "no-unused-vars": "off",
+ "lines-around-comment": "off",
+ "space-in-parens": "off",
+ "camelcase": "off",
+ "computed-property-spacing": "off",
+ "max-len": "off",
+ "dot-notation": "off",
+ "semi-spacing": "off",
+ "brace-style": "off"
+ }
+ }
+ ]
}
"grunt-compare-size": "0.4.2",
"grunt-contrib-uglify": "3.4.0",
"grunt-contrib-watch": "1.1.0",
- "grunt-eslint": "21.0.0",
+ "grunt-eslint": "22.0.0",
"grunt-git-authors": "3.2.0",
"grunt-jsonlint": "1.1.0",
"grunt-karma": "3.0.1",