Skip to content

Commit

Permalink
fix(package.json): prettier (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Apr 5, 2019
1 parent f386381 commit f3d00d4
Showing 1 changed file with 12 additions and 36 deletions.
48 changes: 12 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"module": "es/index.js",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon-addons-data-viz-react.git"
"url":
"https://github.com/carbon-design-system/carbon-addons-data-viz-react.git"
},
"author": "tw15egan <[email protected]>",
"license": "Apache-2.0",
Expand Down Expand Up @@ -67,24 +68,15 @@
"prettier": "prettier --write \"**/*.{scss,css,js}\"",
"storybook": "start-storybook -p 9001 -c .storybook",
"precommit": "lint-staged",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release":
"semantic-release pre && npm publish && semantic-release post",
"test": ""
},
"files": [
"cjs/**/*",
"es/**/*",
"scss/**/*"
],
"files": ["cjs/**/*", "es/**/*", "scss/**/*"],
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"react",
"jsx-a11y"
],
"extends": ["eslint:recommended", "plugin:jsx-a11y/recommended"],
"plugins": ["react", "jsx-a11y"],
"rules": {
"react/jsx-uses-vars": 1,
"react/jsx-uses-react": 1,
Expand All @@ -97,14 +89,9 @@
"jsx-a11y/label-has-for": [
1,
{
"components": [
"Label"
],
"components": ["Label"],
"required": {
"some": [
"nesting",
"id"
]
"some": ["nesting", "id"]
},
"allowChildren": false
}
Expand All @@ -119,11 +106,7 @@
}
},
"babel": {
"presets": [
"./scripts/env",
"react",
"stage-1"
],
"presets": ["./scripts/env", "react", "stage-1"],
"plugins": [
"transform-object-assign",
"transform-object-set-prototype-of-to-assign"
Expand All @@ -136,14 +119,7 @@
"trailingComma": "es5"
},
"lint-staged": {
"*.js": [
"prettier",
"lint",
"git add"
],
"*.{css,scss}": [
"prettier",
"git add"
]
"*.js": ["prettier", "lint", "git add"],
"*.{css,scss}": ["prettier", "git add"]
}
}

0 comments on commit f3d00d4

Please sign in to comment.