Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(format): format all files, not just src/ and test/ #648

Merged
merged 1 commit into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules/
dist/
10 changes: 4 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
module.exports = {
testEnvironment: 'node',
testMatch: [
'<rootDir>/**/*(*.)@(test).[tj]s?(x)'
],
testMatch: ['<rootDir>/**/*(*.)@(test).[tj]s?(x)'],
testPathIgnorePatterns: [
'/node_modules/', // default
'<rootDir>/templates/' // don't run tests in the templates
]
}
'<rootDir>/templates/', // don't run tests in the templates
],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"prepare": "tsc -p tsconfig.json",
"build": "tsc -p tsconfig.json",
"lint": "yarn build && yarn lint:post-build",
"lint:post-build": "node dist/index.js lint src test --ignore-pattern 'test/e2e/fixtures/lint'",
"lint:post-build": "node dist/index.js lint ./ --ignore-pattern 'test/e2e/fixtures/lint'",
"test": "yarn build && yarn test:post-build",
"test:post-build": "node dist/index.js test",
"start": "tsc -p tsconfig.json --watch",
Expand Down