Skip to content

Commit

Permalink
Merge branch 'main' into niamh.cuileann/inputpermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetniamhy authored Oct 16, 2024
2 parents 67a8d35 + 30c40d8 commit 9a5386f
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 2 deletions.
145 changes: 145 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tools/eslint-config-minecraft-scripting/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import header from 'eslint-plugin-header';
import minecraftLinting from 'eslint-plugin-minecraft-linting';
import tsEslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import deprecation from 'eslint-plugin-deprecation';

export default [
eslintConfigPrettier,
Expand All @@ -28,6 +29,7 @@ export default [
'@typescript-eslint': tsEslint,
unicorn: eslintPluginUnicorn,
'minecraft-linting': minecraftLinting,
deprecation,
},
rules: {
...tsEslint.configs['eslint-recommended'].rules,
Expand Down Expand Up @@ -59,6 +61,7 @@ export default [
1,
],
'minecraft-linting/avoid-unnecessary-command': 'error',
'deprecation/deprecation': 'warn',
},
},
];
5 changes: 3 additions & 2 deletions tools/eslint-config-minecraft-scripting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-minecraft-linting": "*",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-unicorn": "^42.0.0"
"eslint-plugin-unicorn": "^42.0.0",
"eslint-plugin-deprecation": "^3.0.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 9a5386f

Please sign in to comment.