feat(eslint-config-joyent-portal): don't lint anything prettier related

This commit is contained in:
Sérgio Ramos 2017-06-21 17:48:15 +01:00 committed by Judit Greskovits
parent c66164f37e
commit aa8d9f7a25
20 changed files with 23 additions and 55 deletions

View File

@ -52,13 +52,12 @@
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"dotenv": "^4.0.0", "dotenv": "^4.0.0",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-prettier": "^2.1.1", "eslint-config-prettier": "^2.2.0",
"eslint-config-react-app": "^1.0.4", "eslint-config-react-app": "^1.0.4",
"eslint-config-xo-space": "^0.16.0", "eslint-config-xo-space": "^0.16.0",
"eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-import": "^2.3.0", "eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.1.0", "eslint-plugin-react": "^7.1.0",
"eslint-tap": "^2.0.1", "eslint-tap": "^2.0.1",
"execa": "^0.7.0", "execa": "^0.7.0",

View File

@ -15,6 +15,6 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3" "eslint-config-joyent-portal": "2.0.0"
} }
} }

View File

@ -24,6 +24,6 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3" "eslint-config-joyent-portal": "2.0.0"
} }
} }

View File

@ -60,7 +60,7 @@
"babel-preset-joyent-portal": "^1.0.3", "babel-preset-joyent-portal": "^1.0.3",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"jest": "^20.0.4", "jest": "^20.0.4",
"jest-alias-preprocessor": "^1.1.1", "jest-alias-preprocessor": "^1.1.1",
"jest-cli": "^20.0.4", "jest-cli": "^20.0.4",

View File

@ -28,7 +28,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"nodemon": "^1.11.0" "nodemon": "^1.11.0"
} }
} }

View File

@ -14,6 +14,6 @@
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3" "eslint-config-joyent-portal": "2.0.0"
} }
} }

View File

@ -12,6 +12,6 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3" "eslint-config-joyent-portal": "2.0.0"
} }
} }

View File

@ -16,7 +16,7 @@
"devDependencies": { "devDependencies": {
"code": "^4.1.0", "code": "^4.1.0",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"js-yaml": "^3.8.4", "js-yaml": "^3.8.4",
"lab": "^14.0.1" "lab": "^14.0.1"
} }

View File

@ -2,22 +2,8 @@
// TODO wait for eslint/eslint#3458 // TODO wait for eslint/eslint#3458
module.exports = { module.exports = {
extends: ['eslint:recommended', 'xo-space/esnext', 'react-app', 'prettier'], extends: ['eslint:recommended', 'xo-space/esnext', 'react-app', 'prettier', 'prettier/react'],
plugins: ['prettier'],
rules: { rules: {
'capitalized-comments': 0, 'capitalized-comments': 0
'prettier/prettier': [
'error',
{
useTabs: false,
printWidth: 80,
tabWidth: 2,
singleQuote: true,
trailingComma: 'none',
bracketSpacing: true,
jsxBracketSameLine: false,
semi: true
}
]
} }
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "eslint-config-joyent-portal", "name": "eslint-config-joyent-portal",
"version": "1.0.3", "version": "2.0.0",
"license": "MPL-2.0", "license": "MPL-2.0",
"repository": "github:yldio/joyent-portal", "repository": "github:yldio/joyent-portal",
"main": "index.js", "main": "index.js",
@ -13,25 +13,23 @@
"devDependencies": { "devDependencies": {
"babel-eslint": "^7.2.3", "babel-eslint": "^7.2.3",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-prettier": "^2.1.1", "eslint-config-prettier": "^2.2.0",
"eslint-config-react-app": "^1.0.4", "eslint-config-react-app": "^1.0.4",
"eslint-config-xo-space": "^0.16.0", "eslint-config-xo-space": "^0.16.0",
"eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-import": "^2.3.0", "eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.1.0" "eslint-plugin-react": "^7.1.0"
}, },
"peerDependencies": { "peerDependencies": {
"babel-eslint": "^7.2.3", "babel-eslint": "^7.2.3",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-prettier": "^2.1.1", "eslint-config-prettier": "^2.2.0",
"eslint-config-react-app": "^1.0.4", "eslint-config-react-app": "^1.0.4",
"eslint-config-xo-space": "^0.16.0", "eslint-config-xo-space": "^0.16.0",
"eslint-plugin-flowtype": "^2.34.0", "eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-import": "^2.3.0", "eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.1.0" "eslint-plugin-react": "^7.1.0"
} }
} }

View File

@ -30,7 +30,7 @@
"babel-preset-react-app": "^3.0.0", "babel-preset-react-app": "^3.0.0",
"bup": "^1.0.9", "bup": "^1.0.9",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"jest": "^20.0.4", "jest": "^20.0.4",
"react": "^15.6.1", "react": "^15.6.1",
"react-test-renderer": "^15.6.1", "react-test-renderer": "^15.6.1",

View File

@ -38,7 +38,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"chalk": "^1.1.3", "chalk": "^1.1.3",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"jest": "^20.0.4", "jest": "^20.0.4",
"jest-diff": "^20.0.3", "jest-diff": "^20.0.3",
"jest-junit": "^1.5.1", "jest-junit": "^1.5.1",

View File

@ -45,7 +45,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"nyc": "^11.0.2", "nyc": "^11.0.2",
"redrun": "^5.9.15", "redrun": "^5.9.15",
"tap-xunit": "^1.7.0" "tap-xunit": "^1.7.0"

View File

@ -47,7 +47,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"nyc": "^11.0.2", "nyc": "^11.0.2",
"redrun": "^5.9.15", "redrun": "^5.9.15",
"tap-xunit": "^1.7.0" "tap-xunit": "^1.7.0"

View File

@ -38,7 +38,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"nyc": "^11.0.2", "nyc": "^11.0.2",
"tap-xunit": "^1.7.0" "tap-xunit": "^1.7.0"
}, },

View File

@ -32,7 +32,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"lodash.uniq": "^4.5.0", "lodash.uniq": "^4.5.0",
"nyc": "^11.0.2", "nyc": "^11.0.2",
"tap-xunit": "^1.7.0" "tap-xunit": "^1.7.0"

View File

@ -37,7 +37,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"nyc": "^11.0.2", "nyc": "^11.0.2",
"react": "^15.6.1", "react": "^15.6.1",
"redrun": "^5.9.15", "redrun": "^5.9.15",

View File

@ -51,7 +51,7 @@
"babel-preset-joyent-portal": "^1.0.3", "babel-preset-joyent-portal": "^1.0.3",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"jest": "^20.0.4", "jest": "^20.0.4",
"jest-diff": "^20.0.3", "jest-diff": "^20.0.3",
"jest-matcher-utils": "^20.0.3", "jest-matcher-utils": "^20.0.3",

View File

@ -40,7 +40,7 @@
"bup": "^1.0.9", "bup": "^1.0.9",
"cross-env": "^5.0.1", "cross-env": "^5.0.1",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.3", "eslint-config-joyent-portal": "2.0.0",
"nyc": "^11.0.2", "nyc": "^11.0.2",
"tap-xunit": "^1.7.0" "tap-xunit": "^1.7.0"
}, },

View File

@ -3305,7 +3305,7 @@ eslint-config-hapi@10.x.x:
version "10.0.0" version "10.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-hapi/-/eslint-config-hapi-10.0.0.tgz#9980affd76103ebc1fec92b45638345db19348f5" resolved "https://registry.yarnpkg.com/eslint-config-hapi/-/eslint-config-hapi-10.0.0.tgz#9980affd76103ebc1fec92b45638345db19348f5"
eslint-config-prettier@^2.1.1: eslint-config-prettier@^2.2.0:
version "2.2.0" version "2.2.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.2.0.tgz#ca47663852789a75c10feba673e802cc1eff085f" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.2.0.tgz#ca47663852789a75c10feba673e802cc1eff085f"
dependencies: dependencies:
@ -3382,13 +3382,6 @@ eslint-plugin-jsx-a11y@^5.0.3:
emoji-regex "^6.1.0" emoji-regex "^6.1.0"
jsx-ast-utils "^1.4.0" jsx-ast-utils "^1.4.0"
eslint-plugin-prettier@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.1.2.tgz#4b90f4ee7f92bfbe2e926017e1ca40eb628965ea"
dependencies:
fast-diff "^1.1.1"
jest-docblock "^20.0.1"
eslint-plugin-react@^7.1.0: eslint-plugin-react@^7.1.0:
version "7.1.0" version "7.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.1.0.tgz#27770acf39f5fd49cd0af4083ce58104eb390d4c" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.1.0.tgz#27770acf39f5fd49cd0af4083ce58104eb390d4c"
@ -3740,10 +3733,6 @@ falafel@^1.2.0:
isarray "0.0.1" isarray "0.0.1"
object-keys "^1.0.6" object-keys "^1.0.6"
fast-diff@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.1.1.tgz#0aea0e4e605b6a2189f0e936d4b7fbaf1b7cfd9b"
fast-levenshtein@~2.0.4: fast-levenshtein@~2.0.4:
version "2.0.6" version "2.0.6"
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
@ -5113,10 +5102,6 @@ jest-diff@^20.0.3:
jest-matcher-utils "^20.0.3" jest-matcher-utils "^20.0.3"
pretty-format "^20.0.3" pretty-format "^20.0.3"
jest-docblock@^20.0.1:
version "20.0.3"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712"
jest-file-exists@^17.0.0: jest-file-exists@^17.0.0:
version "17.0.0" version "17.0.0"
resolved "https://registry.yarnpkg.com/jest-file-exists/-/jest-file-exists-17.0.0.tgz#7f63eb73a1c43a13f461be261768b45af2cdd169" resolved "https://registry.yarnpkg.com/jest-file-exists/-/jest-file-exists-17.0.0.tgz#7f63eb73a1c43a13f461be261768b45af2cdd169"