diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index a828fbb28..000000000 --- a/.eslintrc +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parser": "babel-eslint", - "extends": "airbnb", - "globals": { - "__DEV__": true - }, - "env": { - "browser": true, - "jest": true - }, - "rules": { - "no-confusing-arrow": 0, - "react/jsx-quotes": 0, - "jsx-quotes": [2, "prefer-double"] - } -} diff --git a/.jscsrc b/.jscsrc deleted file mode 100644 index bad58619f..000000000 --- a/.jscsrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "preset": "airbnb", - "excludeFiles": ["build/**", "node_modules/**"], - "validateQuoteMarks": null, - "disallowSpacesInsideTemplateStringPlaceholders": null -} diff --git a/package.json b/package.json index d33eb873b..87900b8e5 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,27 @@ "stage-0" ] }, + "eslintConfig": { + "parser": "babel-eslint", + "extends": "airbnb", + "globals": { + "__DEV__": true + }, + "env": { + "browser": true, + "jest": true + }, + "rules": { + "no-confusing-arrow": 0, + "react/jsx-quotes": 0, + "jsx-quotes": [2, "prefer-double"] + } + }, + "jscsConfig": { + "preset": "airbnb", + "excludeFiles": ["build/**", "node_modules/**"], + "disallowSpacesInsideTemplateStringPlaceholders": null + }, "jest": { "rootDir": "./src", "testPathDirs": [