+++ /dev/null
-{
- "extends": "eslint-config-jquery",
- "root": true,
- "env": {
- "node": true
- }
-}
--- /dev/null
+{
+ "extends": "eslint-config-jquery",
+ "root": true,
+ "env": {
+ "node": true
+ }
+}
+++ /dev/null
-{
- "extends": "../src/.eslintrc",
- "rules": {
- // That is okay for the built version
- "no-multiple-empty-lines": "off",
-
- // Because sizze is not compatible to jquery code style
- "no-nested-ternary": "off",
- "no-unused-expressions": "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"
- }
-}
--- /dev/null
+{
+ "extends": "../src/.eslintrc.json",
+ "rules": {
+ // That is okay for the built version
+ "no-multiple-empty-lines": "off",
+
+ // Because sizze is not compatible to jquery code style
+ "no-nested-ternary": "off",
+ "no-unused-expressions": "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"
+ }
+}
+++ /dev/null
-{
- // Support: IE <=9 only, Android <=4.0 only
- // The above browsers are failing a lot of tests in the ES5
- // test suite at http://test262.ecmascript.org.
- "parserOptions": {
- "ecmaVersion": 3
- },
- "globals": {
- "window": true,
- "jQuery": true,
- "define": true,
- "module": true,
- "noGlobal": true
- },
- "rules": {
- "strict": ["error", "function"]
- }
-}
--- /dev/null
+{
+ // Support: IE <=9 only, Android <=4.0 only
+ // The above browsers are failing a lot of tests in the ES5
+ // test suite at http://test262.ecmascript.org.
+ "parserOptions": {
+ "ecmaVersion": 3
+ },
+ "globals": {
+ "window": true,
+ "jQuery": true,
+ "define": true,
+ "module": true,
+ "noGlobal": true
+ },
+ "rules": {
+ "strict": ["error", "function"]
+ }
+}
/* global Symbol */
-// Defining this global in .eslintrc would create a danger of using the global
+// Defining this global in .eslintrc.json would create a danger of using the global
// unguarded in another place, it seems safer to define global only for this module
define( [
+++ /dev/null
-{
- "env": {
- "browser": true
- },
- // Support: IE <=9 only, Android <=4.0 only
- // The above browsers are failing a lot of tests in the ES5
- // test suite at http://test262.ecmascript.org.
- "parserOptions": {
- "ecmaVersion": 3
- },
- "globals": {
- "require": false,
- "define": false,
- "DOMParser": false,
- "JSON": false,
- "Promise": false,
- "Symbol": false,
- "QUnit": false,
- "ajaxTest": false,
- "testIframe": false,
- "testIframeWithCallback": false,
- "iframeCallback": true,
- "createDashboardXML": false,
- "createXMLFragment": false,
- "moduleTeardown": false,
- "testFoo": false,
- "url": false,
- "t": false,
- "q": false,
- "jQuery": true,
- "sinon": true,
- "amdDefined": true,
- "fireNative": true,
- "Globals": true,
- "hasPHP": true,
- "isLocal": true,
- "supportjQuery": true,
- "originaljQuery": true,
- "$": true,
- "original$": true,
- "baseURL": true,
- "externalHost": true
- },
- "rules": {
- // See https://github.com/eslint/eslint/issues/2342
- "no-unused-vars": "off",
-
- // Too much errors
- "max-len": "off",
- "brace-style": "off",
- "key-spacing": "off",
- "camelcase": "off",
-
- // Not really too much - waiting autofix features for these rules
- "lines-around-comment": "off",
- "dot-notation": "off"
- }
-}
--- /dev/null
+{
+ "env": {
+ "browser": true
+ },
+ // Support: IE <=9 only, Android <=4.0 only
+ // The above browsers are failing a lot of tests in the ES5
+ // test suite at http://test262.ecmascript.org.
+ "parserOptions": {
+ "ecmaVersion": 3
+ },
+ "globals": {
+ "require": false,
+ "define": false,
+ "DOMParser": false,
+ "JSON": false,
+ "Promise": false,
+ "Symbol": false,
+ "QUnit": false,
+ "ajaxTest": false,
+ "testIframe": false,
+ "testIframeWithCallback": false,
+ "iframeCallback": true,
+ "createDashboardXML": false,
+ "createXMLFragment": false,
+ "moduleTeardown": false,
+ "testFoo": false,
+ "url": false,
+ "t": false,
+ "q": false,
+ "jQuery": true,
+ "sinon": true,
+ "amdDefined": true,
+ "fireNative": true,
+ "Globals": true,
+ "hasPHP": true,
+ "isLocal": true,
+ "supportjQuery": true,
+ "originaljQuery": true,
+ "$": true,
+ "original$": true,
+ "baseURL": true,
+ "externalHost": true
+ },
+ "rules": {
+ // See https://github.com/eslint/eslint/issues/2342
+ "no-unused-vars": "off",
+
+ // Too much errors
+ "max-len": "off",
+ "brace-style": "off",
+ "key-spacing": "off",
+ "camelcase": "off",
+
+ // Not really too much - waiting autofix features for these rules
+ "lines-around-comment": "off",
+ "dot-notation": "off"
+ }
+}
+++ /dev/null
-{
- "env": {
- "es6": true
- },
- "extends" : "../../.eslintrc",
- "root": true
-}
--- /dev/null
+{
+ "env": {
+ "es6": true
+ },
+ "extends" : "../../.eslintrc.json",
+ "root": true
+}
+++ /dev/null
-{
- "extends": "../../.eslintrc",
- "root": true
-}
--- /dev/null
+{
+ "extends": "../../.eslintrc.json",
+ "root": true
+}