Skip to content

Commit fa29884

Browse files
authored
Merge branch 'master' into rule-doc-harmonization
2 parents bfc63bd + a8e36f7 commit fa29884

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.eslintrc.json renamed to .eslintrc.js

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
module.exports = {
22
"env": {
33
"node": true,
44
"es6": true
@@ -15,21 +15,11 @@
1515
"plugin:mocha/recommended"
1616
],
1717
"rules": {
18-
"eslint-plugin/require-meta-docs-url": [
19-
"error",
20-
{
21-
"pattern": "https://github.com/cypress-io/eslint-plugin-cypress/blob/master/docs/rules/{{name}}.md"
22-
}
23-
],
18+
"eslint-plugin/require-meta-docs-url":
19+
["error", { "pattern": "https://github.com/cypress-io/eslint-plugin-cypress/blob/master/docs/rules/{{name}}.md" }],
2420
"eslint-plugin/require-meta-docs-description": "error",
25-
"n/no-extraneous-require": [
26-
"error",
27-
{
28-
"allowModules": [
29-
"jest-config"
30-
]
31-
}
32-
],
21+
"n/no-extraneous-require":
22+
["error", { "allowModules": ["jest-config"] }],
3323
"no-redeclare": "off",
3424
"mocha/no-mocha-arrows": "off",
3525
"mocha/no-setup-in-describe": "off"

0 commit comments

Comments
 (0)