Skip to content

Commit

Permalink
Remove standard style. Use prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Sep 4, 2017
1 parent b3c2ce9 commit 01de189
Show file tree
Hide file tree
Showing 71 changed files with 3,542 additions and 2,690 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"parserOptions": {
"ecmaFeatures": {},
"sourceType": "module"
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn"
}
}
2 changes: 0 additions & 2 deletions .jshintignore

This file was deleted.

13 changes: 0 additions & 13 deletions .jshintrc

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

A toward 1.0 release

## 0.69.9

- Remove standard code style and use prettier

## 0.69.8

- `dictionary` module uses `pcset.nodes` instead of `pcset.chromaModes`
Expand Down
1 change: 1 addition & 0 deletions dist/tonal.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/tonal.min.js.map

Large diffs are not rendered by default.

28 changes: 11 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
"main": "dist/tonal.min.js",
"scripts": {
"init": "lerna clean && lerna bootstrap && npm run build",
"prebuild": "lerna bootstrap",
"build": "lerna exec -- rollup -c ../../../rollup.config.js -o build/index.js -- index.js",
"format": "prettier --write packages/**/*.js",
"prebuild": "npm run format && lerna bootstrap",
"build": "lerna exec -- rollup -c ../../../rollup.config.js -- index.js",
"dist": "rollup --config rollup.config.dist.js && ls -hall dist/*",
"prepublish": "npm run test && npm run dist && cp README.md ./packages/tonal/",
"prepublish":
"npm run test && npm run dist && cp README.md ./packages/tonal/",
"pretest": "npm run build",
"test": "jest --coverage --no-cache",
"docs": "lerna run docs",
Expand All @@ -21,26 +23,18 @@
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"eslint": "^3.14.1",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"jest": "^20.0.0",
"lerna": "2.0.0",
"postman-jsdoc-theme": "0.0.2",
"rollup": "^0.43.0",
"rollup-plugin-commonjs": "^8.0.2",
"lerna": "2.1.2",
"postman-jsdoc-theme": "0.0.3",
"prettier": "^1.6.1",
"rollup": "^0.49.2",
"rollup-plugin-commonjs": "^8.2.0",
"rollup-plugin-json": "^2.1.1",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-uglify": "^2.0.0"
},
"standard": {
"ignore": [
"dist/*",
"build/*"
]
"ignore": ["dist/*", "build/*"]
},
"dependencies": {}
}
Loading

0 comments on commit 01de189

Please sign in to comment.