-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temp 07/01/19 [skip ci] main lint files
- Loading branch information
Showing
49 changed files
with
563 additions
and
472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,27 @@ | ||
__snapshots__ | ||
# unignore hidden files | ||
!.* | ||
|
||
**/__snapshots__ | ||
**/build | ||
**/cypress/fixtures | ||
**/dist | ||
**/dist-test | ||
**/node_modules | ||
**/support/fixtures | ||
**/test/fixtures | ||
**/vendor | ||
|
||
# cli/types is linted by tslint/dtslint | ||
cli/types | ||
# packages/example is not linted (think about changing this) | ||
packages/example | ||
|
||
packages/extension/test/helpers/background.js | ||
packages/server/lib/scaffold/plugins/index.js | ||
packages/server/lib/scaffold/support/index.js | ||
packages/server/lib/scaffold/support/commands.js | ||
packages/server/test/fixtures | ||
packages/example/cypress | ||
|
||
packages/launcher/lib/**/*.js | ||
|
||
**/package-lock.json | ||
**/tsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,9 @@ | ||
{ | ||
"plugins": [ | ||
"@cypress/dev" | ||
], | ||
"extends": [ | ||
"plugin:cypress-dev/general" | ||
"plugin:@cypress/dev/general" | ||
], | ||
"rules": { | ||
"no-multiple-empty-lines": ["error", { "max": 1 } ], | ||
"no-else-return": [ "error", { "allowElseIf": false } ], | ||
"brace-style": ["error", "1tbs", { "allowSingleLine": false }], | ||
"no-unneeded-ternary": ["error"], | ||
"array-bracket-newline": ["error", "consistent"], | ||
"arrow-body-style": ["error", "always"], | ||
"padding-line-between-statements": [ | ||
"error", | ||
{ | ||
"blankLine": "always", | ||
"prev": "*", | ||
"next": "return" | ||
}, | ||
{ | ||
"blankLine": "always", | ||
"prev": [ | ||
"const", | ||
"let", | ||
"var", | ||
"if", | ||
"while", | ||
"export", | ||
"cjs-export", | ||
"import", | ||
"cjs-import" | ||
], | ||
"next": "*" | ||
}, | ||
{ | ||
"blankLine": "any", | ||
"prev": [ | ||
"const", | ||
"let", | ||
"var", | ||
"import", | ||
"cjs-import" | ||
], | ||
"next": [ | ||
"const", | ||
"let", | ||
"var", | ||
"import", | ||
"cjs-import" | ||
] | ||
} | ||
] | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"legacyDecorators": true | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/*.jsx" | ||
], | ||
"rules": { | ||
"arrow-body-style": "off" | ||
} | ||
} | ||
] | ||
"rules": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ _test-output | |
cypress.zip | ||
tmp/ | ||
.nyc_output | ||
.vscode/settings.json | ||
|
||
# from extension | ||
Cached Theme.pak | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"eslint.autoFixOnSave": true, | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
{ | ||
"language": "typescript", | ||
"autoFix": true | ||
}, | ||
{ | ||
"language": "typescriptreact", | ||
"autoFix": true | ||
}, | ||
{ | ||
"language": "json", | ||
"autoFix": true | ||
}, | ||
{ | ||
"language": "coffeescript", | ||
"autoFix": false | ||
} | ||
], | ||
"eslint.options": { | ||
"rules": { | ||
"no-debugger": "off" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--ignore-engines true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.