Skip to content

Commit

Permalink
Merge branch 'master' into include-team-info
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomiguelino committed Dec 12, 2024
2 parents 58ab3a1 + 8b49faf commit a6c90ef
Show file tree
Hide file tree
Showing 30 changed files with 4,923 additions and 871 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
end_of_line = lf
insert_final_newline = true

[*.{js,mjs,html}]
[*.{js,mjs,jsx,html}]
indent_style = space
indent_size = 2

Expand Down
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Issues Fixed

Include a list of issues that this pull request fixes.

### Description

Provide a brief description of the changes that you have made.

### Checklist

- [ ] I have performed a self-review of my own code.
- [ ] New and existing unit tests pass locally and on CI with my changes.
- [ ] I have tested my changes on Google Chrome.
- [ ] I have tested my changes on Mozilla Firefox.
- [ ] I added a documentation for the changes I have made (when necessary).

### Additional Information

Include any additional information that you think is necessary for this pull request,
including screenshots of the changes that you have made.
51 changes: 35 additions & 16 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import jasmine from "eslint-plugin-jasmine";
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
import jasmine from 'eslint-plugin-jasmine';
import globals from 'globals';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
Expand All @@ -14,32 +14,51 @@ const compat = new FlatCompat({
});

export default [
...compat.extends("eslint:recommended", "plugin:jasmine/recommended"),
...compat.extends(
'eslint:recommended',
'plugin:react/recommended',
'plugin:jasmine/recommended'
),
{
ignores: [
"src/lib/vendor/",
"node_modules/",
"dist/",
]
'src/lib/vendor/',
'node_modules/',
'dist/',
],
},
{
files: ['**/*.{js,jsx,mjs}'],
plugins: {
jasmine,
},

settings: {
react: {
version: 'detect',
},
},

languageOptions: {
globals: {
...globals.browser,
...globals.jasmine,
...globals.node,
Atomics: "readonly",
SharedArrayBuffer: "readonly",
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},

ecmaVersion: "latest",
sourceType: "module",
ecmaVersion: 'latest',
sourceType: 'module',

parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},

rules: {},
rules: {
'react/prop-types': 'off',
},
}
];
Loading

0 comments on commit a6c90ef

Please sign in to comment.