forked from kaoto-archive/kaoto-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rm prettier lint plugin, use prettier directly
- Loading branch information
Showing
26 changed files
with
156 additions
and
212 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# don't ever lint node_modules | ||
node_modules | ||
# don't lint build output (make sure it's set to your correct build folder name) | ||
dist | ||
# don't lint nyc coverage output | ||
coverage |
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,45 @@ | ||
module.exports = { | ||
root: true, | ||
ignorePatterns: ['.eslintrc.js'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
}, | ||
plugins: [ | ||
'@typescript-eslint', | ||
'jest', | ||
'jsx-a11y', | ||
'react', | ||
], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:import/errors', | ||
'plugin:import/warnings', | ||
'plugin:react/recommended', | ||
'plugin:react-hooks/recommended', | ||
'prettier', // this needs to stay last to be able to override other configs | ||
], | ||
rules: { | ||
"import/named": "off", | ||
"import/namespace": "off", | ||
"import/no-duplicates": "off", | ||
"import/no-unresolved": "off", | ||
"jsx-a11y/accessible-emoji": "warn", | ||
"react/jsx-boolean-value": "off", | ||
"react/prop-types": "off", | ||
"react/no-unescaped-entities": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"react/jsx-one-expression-per-line": "off", | ||
"react/jsx-wrap-multilines": "off", | ||
"react/destructuring-assignment": "off", | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": "warn" | ||
}, | ||
settings: { | ||
"linkComponents": [ | ||
// Components used as alternatives to <a> for linking, eg. <Link to={ url } /> | ||
"Hyperlink", | ||
{"name": "Link", "linkAttribute": "to"} | ||
] | ||
} | ||
}; |
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,6 @@ | ||
{ | ||
"printWidth": 100, | ||
"semi": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.97 KB
.yarn/cache/eslint-config-prettier-npm-8.3.0-f540cd1f53-94ccbb50fb.zip
Binary file not shown.
Binary file removed
BIN
-11.2 KB
.yarn/cache/eslint-plugin-prettier-npm-2.7.0-da079fcef0-b996a253a7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-5.78 KB
.yarn/cache/tslint-config-prettier-npm-1.18.0-34f66a9995-12478d1d0c.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-6.72 KB
.yarn/cache/tslint-plugin-prettier-npm-2.3.0-c3bfead69d-67defa953c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
html, body, #root { | ||
html, | ||
body, | ||
#root { | ||
height: 100%; | ||
} |
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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
body { | ||
margin: 0; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | ||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | ||
sans-serif; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', | ||
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
code { | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | ||
monospace; | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
import { PageSection, Title } from '@patternfly/react-core'; | ||
import { YAMLEditor } from '../components/YAMLEditor'; | ||
|
||
const Dashboard = () => ( | ||
<PageSection> | ||
<Title headingLevel="h1" size="lg">Zimara</Title> | ||
</PageSection> | ||
) | ||
const Dashboard = () => { | ||
return ( | ||
<PageSection> | ||
<Title headingLevel="h1" size="lg"> | ||
Zimara | ||
</Title> | ||
<p>Testing something..</p> | ||
<YAMLEditor /> | ||
</PageSection> | ||
); | ||
}; | ||
|
||
export { Dashboard }; |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.