Skip to content

Commit

Permalink
feat: eslint config & playwright eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Sep 20, 2023
1 parent 0c4ac62 commit 41cb187
Show file tree
Hide file tree
Showing 3 changed files with 593 additions and 135 deletions.
34 changes: 4 additions & 30 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/jsx-runtime",
"plugin:storybook/recommended",
],
overrides: [],
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: "./",
ecmaVersion: 2021,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
plugins: ["react", "@typescript-eslint", "eslint-plugin-tsdoc", "formatjs"],
rules: {
"tsdoc/syntax": "warn",
"formatjs/no-offset": "error",
},
}
'semistandard',
'plugins:playwright/recommended'
]
};
Loading

0 comments on commit 41cb187

Please sign in to comment.