Skip to content

Commit

Permalink
Merge pull request #3 from radish19/feature/setup
Browse files Browse the repository at this point in the history
Automate pre-commit prettier formatting
  • Loading branch information
derarion authored Dec 4, 2023
2 parents a80db32 + e53e292 commit b71f6b7
Show file tree
Hide file tree
Showing 6 changed files with 692 additions and 23 deletions.
19 changes: 10 additions & 9 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"prettier"
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
'react-refresh/only-export-components': [
'warn',
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
}
};
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# momonga-lang-playground

Momonga, named after the Japanese flying squirrel, is a programming language designed for complete beginners.
Loading

0 comments on commit b71f6b7

Please sign in to comment.