Skip to content

Commit

Permalink
chore: update eslint for monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed May 5, 2017
1 parent 2ba6583 commit d41743e
Show file tree
Hide file tree
Showing 14 changed files with 3,604 additions and 32 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib/
node_modules/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ crashlytics-build.properties
# lerna
packages/*/lib/
/.changelog/
/.eslintcache
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@
"example:fix-dry-run": "cd ./examples/fix-dry-run && npm run test:ci",
"example:filter": "cd ./examples/filter && npm run test:ci",
"test": "npm-run-all --parallel lint:* test:packages",
"test:all": "npm-run-all --parallel lint:* test:packages example",
"test:all": "npm-run-all --parallel textlint eslint test:packages example",
"test:packages": "lerna run test --stream",
"lint:doc": "node packages/textlint/bin/textlint.js --cache -c docs/.textlintrc docs/ .github/ README.md -f pretty-error",
"eslint": "eslint --cache 'packages/**/src/**/*.js'",
"eslint:fix": "eslint --fix --cache 'packages/**/src/**/*.js'",
"textlint": "node packages/textlint/bin/textlint.js --cache -c docs/.textlintrc docs/ .github/ README.md -f pretty-error",
"perf": "cd ./examples/perf && npm run test:ci"
},
"devDependencies": {
"eslint": "^3.19.0",
"lerna": "^2.0.0-rc.4",
"npm-run-all": "^4.0.1",
"textlint-filter-rule-comments": "^1.2.2",
Expand Down
5 changes: 3 additions & 2 deletions packages/ast-node-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"url": "https://github.com/textlint/textlint.git"
},
"scripts": {
"buid": "textlint-monorepo-scripts build-ts",
"test": "textlint-monorepo-scripts test"
"build": "textlint-monorepo-scripts build-ts",
"test": "textlint-monorepo-scripts test",
"prepublish": "npm run build"
},
"keywords": [
"textlint"
Expand Down
Loading

0 comments on commit d41743e

Please sign in to comment.