generated from nl-design-system/example
-
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.
- Loading branch information
0 parents
commit cea5e71
Showing
86 changed files
with
20,273 additions
and
0 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,13 @@ | ||
root = true | ||
|
||
[*] | ||
charset = UTF-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
trim_trailing_whitespace = true | ||
|
||
[*.{md,mdx}] | ||
trim_trailing_whitespace = false |
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,17 @@ | ||
# Ignore 3rd party files | ||
node_modules/ | ||
vendor/ | ||
|
||
# Ignore generated files | ||
build/ | ||
coverage/ | ||
dist/ | ||
tmp/ | ||
|
||
# Ignore generated files from Stencil | ||
components/components.d.ts | ||
packages/web-components-angular/src/directives/angular-component-lib/utils.ts | ||
packages/web-components-angular/src/directives/proxies.ts | ||
packages/web-components-stencil/loader | ||
packages/web-components-react/src/react-component-lib/ | ||
packages/web-components-react/src/components.ts |
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,115 @@ | ||
{ | ||
"rules": { | ||
"array-callback-return": ["error", { "checkForEach": false }], | ||
"block-scoped-var": "error", | ||
"consistent-return": "error", | ||
"constructor-super": "error", | ||
"eqeqeq": "error", | ||
"for-direction": "error", | ||
"getter-return": "error", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"alphabetize": { "order": "asc", "caseInsensitive": false }, | ||
"groups": [ | ||
["builtin", "external"], | ||
["internal", "unknown"], | ||
["parent", "sibling", "index"] | ||
], | ||
"newlines-between": "never", | ||
"warnOnUnassignedImports": false | ||
} | ||
], | ||
"no-alert": "error", | ||
"no-async-promise-executor": "error", | ||
"no-caller": "error", | ||
"no-case-declarations": "error", | ||
"no-class-assign": "error", | ||
"no-compare-neg-zero": "error", | ||
"no-cond-assign": "error", | ||
"no-const-assign": "error", | ||
"no-constant-condition": "error", | ||
"no-constructor-return": "error", | ||
"no-control-regex": "error", | ||
"no-debugger": "error", | ||
"no-delete-var": "error", | ||
"no-dupe-args": "error", | ||
"no-dupe-class-members": "error", | ||
"no-dupe-else-if": "error", | ||
"no-dupe-keys": "error", | ||
"no-duplicate-case": "error", | ||
"no-empty": "error", | ||
"no-empty-character-class": "error", | ||
"no-empty-pattern": "error", | ||
"no-eval": "error", | ||
"no-ex-assign": "error", | ||
"no-extra-boolean-cast": "error", | ||
"no-extra-semi": "error", | ||
"no-fallthrough": "error", | ||
"no-func-assign": "error", | ||
"no-global-assign": "error", | ||
"no-implicit-globals": "error", | ||
"no-implied-eval": "error", | ||
"no-import-assign": "error", | ||
"no-inner-declarations": "error", | ||
"no-invalid-regexp": "error", | ||
"no-invalid-this": "error", | ||
"no-irregular-whitespace": "error", | ||
"no-lone-blocks": "error", | ||
"no-loop-func": "error", | ||
"no-misleading-character-class": "error", | ||
"no-multi-str": "error", | ||
"no-new-func": "error", | ||
"no-new-symbol": "error", | ||
"no-new-wrappers": "error", | ||
"no-obj-calls": "error", | ||
"no-octal": "error", | ||
"no-octal-escape": "error", | ||
"no-param-reassign": "error", | ||
"no-prototype-builtins": "error", | ||
"no-redeclare": "error", | ||
"no-regex-spaces": "error", | ||
"no-return-assign": "error", | ||
"no-return-await": "error", | ||
"no-self-assign": "error", | ||
"no-self-compare": "error", | ||
"no-sequences": "error", | ||
"no-setter-return": "error", | ||
"no-shadow-restricted-names": "error", | ||
"no-sparse-arrays": "error", | ||
"no-this-before-super": "error", | ||
"no-throw-literal": "error", | ||
"no-undef": "error", | ||
"no-unexpected-multiline": "error", | ||
"no-unmodified-loop-condition": "error", | ||
"no-unreachable": "error", | ||
"no-unsafe-finally": "error", | ||
"no-unsafe-negation": "error", | ||
"no-unused-expressions": "error", | ||
"no-unused-labels": "error", | ||
"no-unused-vars": "error", | ||
"no-useless-call": "error", | ||
"no-useless-catch": "error", | ||
"no-useless-concat": "error", | ||
"no-useless-escape": "error", | ||
"no-useless-return": "error", | ||
"no-void": "error", | ||
"no-with": "error", | ||
"prefer-regex-literals": "error", | ||
"radix": "error", | ||
"require-yield": "error", | ||
"sort-imports": [ | ||
"error", | ||
{ | ||
"ignoreCase": true, | ||
"ignoreDeclarationSort": true, | ||
"ignoreMemberSort": false, | ||
"allowSeparatedGroups": false | ||
} | ||
], | ||
"use-isnan": "error", | ||
"valid-typeof": "error", | ||
"vars-on-top": "off", | ||
"yoda": "error" | ||
} | ||
} |
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,93 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": false | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"extends": ["plugin:json/recommended"], | ||
"files": ["*.json"] | ||
}, | ||
{ | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"eslint-config-prettier", | ||
"./.eslintrc.js.json", | ||
"./.eslintrc.react.json", | ||
"plugin:mdx/overrides" | ||
], | ||
"files": ["*.mdx"], | ||
"plugins": ["import"] | ||
}, | ||
{ | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"eslint-config-prettier", | ||
"./.eslintrc.js.json", | ||
"./.eslintrc.react.json" | ||
], | ||
"files": ["*.js", "*.jsx"], | ||
"plugins": ["import"] | ||
}, | ||
{ | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"eslint-config-prettier", | ||
"./.eslintrc.js.json", | ||
"./.eslintrc.react.json" | ||
], | ||
"files": ["*.ts", "*.tsx"], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "import"] | ||
}, | ||
{ | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"eslint-config-prettier", | ||
"./.eslintrc.js.json", | ||
"./.eslintrc.react.json" | ||
], | ||
"files": ["**/stencil.tsx", "**/*.stencil.tsx"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": ["packages/web-components-stencil/tsconfig.json"] | ||
}, | ||
"plugins": ["@typescript-eslint", "import"] | ||
}, | ||
{ | ||
"excludedFiles": ["**/stencil.tsx", "**/*.stencil.tsx"], | ||
"extends": [ | ||
"plugin:react/recommended", | ||
"eslint-config-prettier", | ||
"./.eslintrc.js.json", | ||
"./.eslintrc.react.json" | ||
], | ||
"files": ["*.ts", "*.tsx"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": [ | ||
"packages/storybook/tsconfig.json", | ||
"packages/web-components-react/tsconfig.json", | ||
"packages/components-react/tsconfig.json", | ||
"packages/components-react/tsconfig.test.json", | ||
"packages/web-components-stencil/tsconfig.json", | ||
"packages/web-components-stencil/tsconfig.jest.json" | ||
] | ||
}, | ||
"plugins": ["@typescript-eslint"] | ||
} | ||
] | ||
} |
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,8 @@ | ||
{ | ||
"rules": { | ||
"react/no-unknown-property": "off", | ||
"react/prop-types": "off", | ||
"react/jsx-key": "off", | ||
"react/react-in-jsx-scope": "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 @@ | ||
* text=auto eol=lf |
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,22 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
reviewers: | ||
- "nl-design-system/kernteam-dependabot" | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
groups: | ||
storybook: | ||
patterns: | ||
- "storybook" | ||
- "@storybook/*" | ||
versioning-strategy: "increase-if-necessary" | ||
open-pull-requests-limit: 20 | ||
reviewers: | ||
- "nl-design-system/kernteam-dependabot" |
Oops, something went wrong.