-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
1,854 additions
and
770 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
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,23 @@ | ||
import neostandard from 'neostandard'; | ||
import pluginCypress from 'eslint-plugin-cypress/flat'; | ||
import stylistic from '@stylistic/eslint-plugin'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
...neostandard(), | ||
pluginCypress.configs.recommended, | ||
stylistic.configs['recommended-flat'], | ||
{ | ||
files: ['**/*.js', '**/*.ts'], | ||
plugins: { | ||
cypress: pluginCypress, | ||
'@stylistic': stylistic | ||
}, | ||
rules: { | ||
'no-ex-assign': 'warn', | ||
'@stylistic/indent': 'off', | ||
'@stylistic/no-tabs': 'off', | ||
'@stylistic/semi': 'error' | ||
} | ||
} | ||
]; |
Oops, something went wrong.