diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-11 15:26:31 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-11 15:26:31 -0300 |
commit | 99e4c82ca2c47c10d80f7320ba5638741ed3b420 (patch) | |
tree | 997be9f5b3390ca2cae7ebd10f92353df9584d9d /packages/aml-backoffice-ui/.eslintrc.cjs | |
parent | 2419381798660683eb6c12f97a8286a97169be57 (diff) |
eslint config
Diffstat (limited to 'packages/aml-backoffice-ui/.eslintrc.cjs')
-rw-r--r-- | packages/aml-backoffice-ui/.eslintrc.cjs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/aml-backoffice-ui/.eslintrc.cjs b/packages/aml-backoffice-ui/.eslintrc.cjs new file mode 100644 index 000000000..05618b499 --- /dev/null +++ b/packages/aml-backoffice-ui/.eslintrc.cjs @@ -0,0 +1,28 @@ +module.exports = { + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:react/recommended', + ], + parser: '@typescript-eslint/parser', + plugins: ['@typescript-eslint', 'header'], + root: true, + rules: { + "react/no-unknown-property": 0, + "react/no-unescaped-entities": 0, + "@typescript-eslint/no-namespace": 0, + "@typescript-eslint/no-unused-vars": [2,{argsIgnorePattern:"^_"}], + "header/header": [2,"copyleft-header.js"] + }, + parserOptions: { + ecmaVersion: 6, + sourceType: 'module', + jsx: true, + }, + settings: { + react: { + version: "18", + pragma: "h", + } + }, +}; |