Skip to content

[ECHOJS-227] fixed tests with lint#143

Open
alesPoz wants to merge 14 commits intomasterfrom
ECHOJS-227
Open

[ECHOJS-227] fixed tests with lint#143
alesPoz wants to merge 14 commits intomasterfrom
ECHOJS-227

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
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

Comments