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

[ECHOJS-227] fixed tests with lint #143

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

[ECHOJS-227] fixed tests with lint #143

wants to merge 14 commits into from

Conversation

alesPoz
Copy link
Contributor

@alesPoz alesPoz commented Nov 20, 2019

No description provided.

@alesPoz alesPoz changed the title fixed tests with lint [ECHOJS-227] fixed tests with lint Nov 20, 2019
test/_test-utils.js Outdated Show resolved Hide resolved
test/api.test.js Outdated Show resolved Hide resolved
test/api.test.js Outdated Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
test/_test-data.js Outdated Show resolved Hide resolved
Comment on lines +6 to +12
"mocha": true,
},
"plugins": [
"import"
],
"rules": {
"global-require": 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this eslint rules only for test folder. And disable this rule for tests too.

"overrides": [{
	"files": ["test/**/*.js"],
	"env": { "mocha": true },
	"rules": { "func-names": 0, "global-require": 0 },
}],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants