-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updating prettier to use prettier-config-moon (#107)
- Loading branch information
1 parent
ad55dc6
commit bdd6444
Showing
320 changed files
with
20,490 additions
and
20,359 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,2 @@ | ||
--- | ||
--- |
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,14 @@ | ||
{ | ||
"buildCommand": "build", | ||
"node": "16", | ||
"packages": ["/packages/design-tokens", "/packages/react", "/packages/system", "/packages/theme"], | ||
"sandboxes": ["/examples/create-react-app", "/examples/create-react-app-typescript"] | ||
"packages": [ | ||
"/packages/design-tokens", | ||
"/packages/react", | ||
"/packages/system", | ||
"/packages/theme" | ||
], | ||
"sandboxes": [ | ||
"/examples/create-react-app", | ||
"/examples/create-react-app-typescript" | ||
] | ||
} |
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,119 +1,119 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: 'tsconfig.options.json', | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
'plugin:prettier/recommended', | ||
], | ||
plugins: ['import', '@typescript-eslint'], | ||
env: { | ||
es6: true, | ||
browser: true, | ||
node: true, | ||
}, | ||
globals: { | ||
__DEV__: 'readonly', | ||
__PROD__: 'readonly', | ||
}, | ||
rules: { | ||
'no-param-reassign': 'off', | ||
'no-use-before-define': 0, | ||
'import/first': 'error', | ||
'import/prefer-default-export': 'off', | ||
'import/newline-after-import': 'error', | ||
'import/no-amd': 'error', | ||
'import/no-extraneous-dependencies': 'off', | ||
'import/order': [ | ||
'error', | ||
{ | ||
groups: [], | ||
'newlines-between': 'never', | ||
}, | ||
], | ||
'@typescript-eslint/ban-ts-comment': 'warn', | ||
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'], | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': 'off', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'@typescript-eslint/prefer-as-const': 'error', | ||
'@typescript-eslint/prefer-nullish-coalescing': 'error', | ||
'@typescript-eslint/prefer-optional-chain': 'error', | ||
'@typescript-eslint/restrict-template-expressions': 'off', | ||
'@typescript-eslint/unbound-method': 'off', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.tsx'], | ||
extends: [ | ||
'plugin:react-hooks/recommended', | ||
'plugin:react/recommended', | ||
'plugin:jsx-a11y/recommended', | ||
], | ||
plugins: ['jsx-a11y', 'react', 'react-hooks', 'react-perf'], | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
rules: { | ||
'react/display-name': 'off', | ||
'react/forbid-prop-types': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'react/prop-types': 'off', | ||
'react/require-default-props': 'off', | ||
'react/sort-prop-types': 'off', | ||
'react-hooks/exhaustive-deps': 'error', | ||
'react-hooks/rules-of-hooks': 'error', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.{spec,test}.*'], | ||
env: { | ||
jest: true, | ||
'jest/globals': true, | ||
}, | ||
extends: ['plugin:jest/recommended'], | ||
plugins: ['jest'], | ||
rules: { | ||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': 'off', | ||
'@typescript-eslint/no-unsafe-return': 'off', | ||
'jest/no-alias-methods': 'error', | ||
'jest/no-disabled-tests': 'warn', | ||
'jest/no-done-callback': 'error', | ||
'jest/no-export': 'error', | ||
'jest/no-focused-tests': 'error', | ||
'jest/no-identical-title': 'error', | ||
'jest/no-if': 'error', | ||
'jest/no-jasmine-globals': 'error', | ||
'jest/no-jest-import': 'error', | ||
'jest/no-standalone-expect': 'error', | ||
'jest/no-test-prefixes': 'error', | ||
'jest/no-test-return-statement': 'error', | ||
'jest/prefer-hooks-on-top': 'error', | ||
'jest/prefer-spy-on': 'error', | ||
'jest/prefer-to-be': 'warn', | ||
'jest/prefer-to-contain': 'warn', | ||
'jest/prefer-to-have-length': 'warn', | ||
'jest/prefer-todo': 'error', | ||
'jest/valid-expect': 'error', | ||
'jest/valid-title': 'error', | ||
}, | ||
}, | ||
], | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: 'tsconfig.options.json', | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
'plugin:prettier/recommended', | ||
], | ||
plugins: ['import', '@typescript-eslint'], | ||
env: { | ||
es6: true, | ||
browser: true, | ||
node: true, | ||
}, | ||
globals: { | ||
__DEV__: 'readonly', | ||
__PROD__: 'readonly', | ||
}, | ||
rules: { | ||
'no-param-reassign': 'off', | ||
'no-use-before-define': 0, | ||
'import/first': 'error', | ||
'import/prefer-default-export': 'off', | ||
'import/newline-after-import': 'error', | ||
'import/no-amd': 'error', | ||
'import/no-extraneous-dependencies': 'off', | ||
'import/order': [ | ||
'error', | ||
{ | ||
groups: [], | ||
'newlines-between': 'never', | ||
}, | ||
], | ||
'@typescript-eslint/ban-ts-comment': 'warn', | ||
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'], | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': 'off', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'@typescript-eslint/prefer-as-const': 'error', | ||
'@typescript-eslint/prefer-nullish-coalescing': 'error', | ||
'@typescript-eslint/prefer-optional-chain': 'error', | ||
'@typescript-eslint/restrict-template-expressions': 'off', | ||
'@typescript-eslint/unbound-method': 'off', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.tsx'], | ||
extends: [ | ||
'plugin:react-hooks/recommended', | ||
'plugin:react/recommended', | ||
'plugin:jsx-a11y/recommended', | ||
], | ||
plugins: ['jsx-a11y', 'react', 'react-hooks', 'react-perf'], | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
rules: { | ||
'react/display-name': 'off', | ||
'react/forbid-prop-types': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'react/prop-types': 'off', | ||
'react/require-default-props': 'off', | ||
'react/sort-prop-types': 'off', | ||
'react-hooks/exhaustive-deps': 'error', | ||
'react-hooks/rules-of-hooks': 'error', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.{spec,test}.*'], | ||
env: { | ||
jest: true, | ||
'jest/globals': true, | ||
}, | ||
extends: ['plugin:jest/recommended'], | ||
plugins: ['jest'], | ||
rules: { | ||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': 'off', | ||
'@typescript-eslint/no-unsafe-return': 'off', | ||
'jest/no-alias-methods': 'error', | ||
'jest/no-disabled-tests': 'warn', | ||
'jest/no-done-callback': 'error', | ||
'jest/no-export': 'error', | ||
'jest/no-focused-tests': 'error', | ||
'jest/no-identical-title': 'error', | ||
'jest/no-if': 'error', | ||
'jest/no-jasmine-globals': 'error', | ||
'jest/no-jest-import': 'error', | ||
'jest/no-standalone-expect': 'error', | ||
'jest/no-test-prefixes': 'error', | ||
'jest/no-test-return-statement': 'error', | ||
'jest/prefer-hooks-on-top': 'error', | ||
'jest/prefer-spy-on': 'error', | ||
'jest/prefer-to-be': 'warn', | ||
'jest/prefer-to-contain': 'warn', | ||
'jest/prefer-to-have-length': 'warn', | ||
'jest/prefer-todo': 'error', | ||
'jest/valid-expect': 'error', | ||
'jest/valid-title': '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
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.
bdd6444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
manifest – ./
manifest-git-main-project44.vercel.app
manifest-project44.vercel.app
manifest-tan.vercel.app
www.manifestdesignsystem.com
manifestdesignsystem.com