From 28dc76e2aaee87413a1279b9476e8e3ce37c527a Mon Sep 17 00:00:00 2001 From: Miguel Flores Date: Mon, 16 Oct 2023 22:41:23 -0600 Subject: [PATCH] Create .eslintrc.yml --- .github/linters/.eslintrc.yml | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/linters/.eslintrc.yml diff --git a/.github/linters/.eslintrc.yml b/.github/linters/.eslintrc.yml new file mode 100644 index 0000000..b92a4c3 --- /dev/null +++ b/.github/linters/.eslintrc.yml @@ -0,0 +1,50 @@ +env: + commonjs: true + es6: true + jest: true + node: true + +globals: + Atomics: readonly + SharedArrayBuffer: readonly + +ignorePatterns: + - '!.*' + - '**/node_modules/.*' + - '**/dist/.*' + - '**/coverage/.*' + - '*.json' + +parser: '@babel/eslint-parser' + +parserOptions: + ecmaVersion: 2023 + sourceType: module + requireConfigFile: false + babelOptions: + babelrc: false + configFile: false + presets: + - jest + +plugins: + - jest + +extends: + - eslint:recommended + - plugin:github/recommended + - plugin:jest/recommended + +rules: + { + 'camelcase': 'off', + 'eslint-comments/no-use': 'off', + 'eslint-comments/no-unused-disable': 'off', + 'i18n-text/no-en': 'off', + 'import/no-commonjs': 'off', + 'import/no-namespace': 'off', + 'no-console': 'off', + 'no-unused-vars': 'off', + 'prettier/prettier': 'error', + 'semi': 'off' + }