Skip to content

Commit

Permalink
adds js-intro
Browse files Browse the repository at this point in the history
  • Loading branch information
pmhsfelix committed Oct 31, 2024
1 parent d094b9d commit 28d4c49
Show file tree
Hide file tree
Showing 25 changed files with 7,139 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/js/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/node_modules
**/dist
**/.vscode
11 changes: 11 additions & 0 deletions code/js/js-intro/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"arrowParens": "avoid",
"endOfLine": "lf",
"semi": true,
"printWidth": 120,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"htmlWhitespaceSensitivity": "ignore"
}
10 changes: 10 additions & 0 deletions code/js/js-intro/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';

export default [
{ files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
Loading

0 comments on commit 28d4c49

Please sign in to comment.