mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-18 17:41:18 +01:00
Create .eslintrc.yml
This commit is contained in:
50
.github/linters/.eslintrc.yml
vendored
Normal file
50
.github/linters/.eslintrc.yml
vendored
Normal file
@@ -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'
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user