immosquare-cleaner 0.1.23 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/linters/rubocop-3.2.2.yml +1 -0
- data/linters/rubocop.yml +2 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/LICENSE +19 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/README.md +71 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4333 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1149 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/index.js +56 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/index.d.ts +36 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/index.js +77 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/package.json +47 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/node_modules/strip-json-comments/readme.md +78 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/package.json +82 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/eslintrc/universal.js +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/LICENSE +19 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/README.md +57 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/package.json +31 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/configs/eslint-all.js +278 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/configs/eslint-recommended.js +76 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@eslint/js/src/index.js +17 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/README.md +342 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/api.js +1061 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +8 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/LICENSE +29 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/README.md +234 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/package.json +33 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/index.js +7 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +53 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/object-schema.js +235 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +102 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +66 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +611 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +186 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/README.md +224 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/node_modules/minimatch/package.json +33 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/@humanwhocodes/config-array/package.json +61 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/index.d.ts +415 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/package.json +68 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/readme.md +341 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/index.js +229 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/templates.js +134 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/chalk/source/util.js +39 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/README.md +230 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/minimatch/package.json +33 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/index.d.ts +17 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/index.js +4 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.d.ts +37 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/index.js +10 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/license +9 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/package.json +55 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/node_modules/ansi-regex/readme.md +78 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/package.json +54 -0
- data/node_modules/@eslint-community/eslint-utils/node_modules/eslint/node_modules/strip-ansi/readme.md +46 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/index.js +162 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/license.md +21 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/package.json +38 -0
- data/node_modules/eslint-plugin-import/node_modules/debug/node_modules/ms/readme.md +59 -0
- data/node_modules/npm-check-updates/build/package.json +2 -3
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js +18 -11
- data/node_modules/npm-check-updates/build/src/lib/runGlobal.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js +2 -3
- data/node_modules/npm-check-updates/build/src/package-managers/bun.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js +12 -8
- data/node_modules/npm-check-updates/build/src/package-managers/npm.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js +37 -14
- data/node_modules/npm-check-updates/build/src/package-managers/pnpm.js.map +1 -1
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js +36 -11
- data/node_modules/npm-check-updates/build/src/package-managers/yarn.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +2 -3
- data/node_modules/prettier/LICENSE +3 -3
- data/node_modules/prettier/index.cjs +1 -1
- data/node_modules/prettier/index.mjs +14 -22
- data/node_modules/prettier/package.json +1 -1
- data/node_modules/prettier/plugins/acorn.js +10 -10
- data/node_modules/prettier/plugins/acorn.mjs +10 -10
- data/node_modules/prettier/plugins/angular.js +1 -1
- data/node_modules/prettier/plugins/angular.mjs +1 -1
- data/node_modules/prettier/plugins/babel.js +8 -8
- data/node_modules/prettier/plugins/babel.mjs +8 -8
- data/node_modules/prettier/plugins/estree.js +24 -24
- data/node_modules/prettier/plugins/estree.mjs +24 -24
- data/node_modules/prettier/plugins/flow.js +17 -17
- data/node_modules/prettier/plugins/flow.mjs +17 -17
- data/node_modules/prettier/plugins/graphql.js +6 -6
- data/node_modules/prettier/plugins/graphql.mjs +6 -6
- data/node_modules/prettier/plugins/html.js +1 -1
- data/node_modules/prettier/plugins/html.mjs +1 -1
- data/node_modules/prettier/plugins/markdown.js +1 -1
- data/node_modules/prettier/plugins/markdown.mjs +1 -1
- data/node_modules/prettier/plugins/meriyah.js +4 -4
- data/node_modules/prettier/plugins/meriyah.mjs +4 -4
- data/node_modules/prettier/plugins/typescript.js +19 -19
- data/node_modules/prettier/plugins/typescript.mjs +19 -19
- data/node_modules/prettier/standalone.js +10 -10
- data/node_modules/prettier/standalone.mjs +9 -9
- data/package.json +2 -2
- metadata +95 -4
@@ -0,0 +1,278 @@
|
|
1
|
+
/*
|
2
|
+
* WARNING: This file is autogenerated using the tools/update-eslint-all.js
|
3
|
+
* script. Do not edit manually.
|
4
|
+
*/
|
5
|
+
"use strict";
|
6
|
+
|
7
|
+
/* eslint quote-props: off -- autogenerated so don't lint */
|
8
|
+
|
9
|
+
module.exports = Object.freeze({
|
10
|
+
"rules": {
|
11
|
+
"accessor-pairs": "error",
|
12
|
+
"array-bracket-newline": "error",
|
13
|
+
"array-bracket-spacing": "error",
|
14
|
+
"array-callback-return": "error",
|
15
|
+
"array-element-newline": "error",
|
16
|
+
"arrow-body-style": "error",
|
17
|
+
"arrow-parens": "error",
|
18
|
+
"arrow-spacing": "error",
|
19
|
+
"block-scoped-var": "error",
|
20
|
+
"block-spacing": "error",
|
21
|
+
"brace-style": "error",
|
22
|
+
"camelcase": "error",
|
23
|
+
"capitalized-comments": "error",
|
24
|
+
"class-methods-use-this": "error",
|
25
|
+
"comma-dangle": "error",
|
26
|
+
"comma-spacing": "error",
|
27
|
+
"comma-style": "error",
|
28
|
+
"complexity": "error",
|
29
|
+
"computed-property-spacing": "error",
|
30
|
+
"consistent-return": "error",
|
31
|
+
"consistent-this": "error",
|
32
|
+
"constructor-super": "error",
|
33
|
+
"curly": "error",
|
34
|
+
"default-case": "error",
|
35
|
+
"default-case-last": "error",
|
36
|
+
"default-param-last": "error",
|
37
|
+
"dot-location": "error",
|
38
|
+
"dot-notation": "error",
|
39
|
+
"eol-last": "error",
|
40
|
+
"eqeqeq": "error",
|
41
|
+
"for-direction": "error",
|
42
|
+
"func-call-spacing": "error",
|
43
|
+
"func-name-matching": "error",
|
44
|
+
"func-names": "error",
|
45
|
+
"func-style": "error",
|
46
|
+
"function-call-argument-newline": "error",
|
47
|
+
"function-paren-newline": "error",
|
48
|
+
"generator-star-spacing": "error",
|
49
|
+
"getter-return": "error",
|
50
|
+
"grouped-accessor-pairs": "error",
|
51
|
+
"guard-for-in": "error",
|
52
|
+
"id-denylist": "error",
|
53
|
+
"id-length": "error",
|
54
|
+
"id-match": "error",
|
55
|
+
"implicit-arrow-linebreak": "error",
|
56
|
+
"indent": "error",
|
57
|
+
"init-declarations": "error",
|
58
|
+
"jsx-quotes": "error",
|
59
|
+
"key-spacing": "error",
|
60
|
+
"keyword-spacing": "error",
|
61
|
+
"line-comment-position": "error",
|
62
|
+
"linebreak-style": "error",
|
63
|
+
"lines-around-comment": "error",
|
64
|
+
"lines-between-class-members": "error",
|
65
|
+
"logical-assignment-operators": "error",
|
66
|
+
"max-classes-per-file": "error",
|
67
|
+
"max-depth": "error",
|
68
|
+
"max-len": "error",
|
69
|
+
"max-lines": "error",
|
70
|
+
"max-lines-per-function": "error",
|
71
|
+
"max-nested-callbacks": "error",
|
72
|
+
"max-params": "error",
|
73
|
+
"max-statements": "error",
|
74
|
+
"max-statements-per-line": "error",
|
75
|
+
"multiline-comment-style": "error",
|
76
|
+
"multiline-ternary": "error",
|
77
|
+
"new-cap": "error",
|
78
|
+
"new-parens": "error",
|
79
|
+
"newline-per-chained-call": "error",
|
80
|
+
"no-alert": "error",
|
81
|
+
"no-array-constructor": "error",
|
82
|
+
"no-async-promise-executor": "error",
|
83
|
+
"no-await-in-loop": "error",
|
84
|
+
"no-bitwise": "error",
|
85
|
+
"no-caller": "error",
|
86
|
+
"no-case-declarations": "error",
|
87
|
+
"no-class-assign": "error",
|
88
|
+
"no-compare-neg-zero": "error",
|
89
|
+
"no-cond-assign": "error",
|
90
|
+
"no-confusing-arrow": "error",
|
91
|
+
"no-console": "error",
|
92
|
+
"no-const-assign": "error",
|
93
|
+
"no-constant-binary-expression": "error",
|
94
|
+
"no-constant-condition": "error",
|
95
|
+
"no-constructor-return": "error",
|
96
|
+
"no-continue": "error",
|
97
|
+
"no-control-regex": "error",
|
98
|
+
"no-debugger": "error",
|
99
|
+
"no-delete-var": "error",
|
100
|
+
"no-div-regex": "error",
|
101
|
+
"no-dupe-args": "error",
|
102
|
+
"no-dupe-class-members": "error",
|
103
|
+
"no-dupe-else-if": "error",
|
104
|
+
"no-dupe-keys": "error",
|
105
|
+
"no-duplicate-case": "error",
|
106
|
+
"no-duplicate-imports": "error",
|
107
|
+
"no-else-return": "error",
|
108
|
+
"no-empty": "error",
|
109
|
+
"no-empty-character-class": "error",
|
110
|
+
"no-empty-function": "error",
|
111
|
+
"no-empty-pattern": "error",
|
112
|
+
"no-empty-static-block": "error",
|
113
|
+
"no-eq-null": "error",
|
114
|
+
"no-eval": "error",
|
115
|
+
"no-ex-assign": "error",
|
116
|
+
"no-extend-native": "error",
|
117
|
+
"no-extra-bind": "error",
|
118
|
+
"no-extra-boolean-cast": "error",
|
119
|
+
"no-extra-label": "error",
|
120
|
+
"no-extra-parens": "error",
|
121
|
+
"no-extra-semi": "error",
|
122
|
+
"no-fallthrough": "error",
|
123
|
+
"no-floating-decimal": "error",
|
124
|
+
"no-func-assign": "error",
|
125
|
+
"no-global-assign": "error",
|
126
|
+
"no-implicit-coercion": "error",
|
127
|
+
"no-implicit-globals": "error",
|
128
|
+
"no-implied-eval": "error",
|
129
|
+
"no-import-assign": "error",
|
130
|
+
"no-inline-comments": "error",
|
131
|
+
"no-inner-declarations": "error",
|
132
|
+
"no-invalid-regexp": "error",
|
133
|
+
"no-invalid-this": "error",
|
134
|
+
"no-irregular-whitespace": "error",
|
135
|
+
"no-iterator": "error",
|
136
|
+
"no-label-var": "error",
|
137
|
+
"no-labels": "error",
|
138
|
+
"no-lone-blocks": "error",
|
139
|
+
"no-lonely-if": "error",
|
140
|
+
"no-loop-func": "error",
|
141
|
+
"no-loss-of-precision": "error",
|
142
|
+
"no-magic-numbers": "error",
|
143
|
+
"no-misleading-character-class": "error",
|
144
|
+
"no-mixed-operators": "error",
|
145
|
+
"no-mixed-spaces-and-tabs": "error",
|
146
|
+
"no-multi-assign": "error",
|
147
|
+
"no-multi-spaces": "error",
|
148
|
+
"no-multi-str": "error",
|
149
|
+
"no-multiple-empty-lines": "error",
|
150
|
+
"no-negated-condition": "error",
|
151
|
+
"no-nested-ternary": "error",
|
152
|
+
"no-new": "error",
|
153
|
+
"no-new-func": "error",
|
154
|
+
"no-new-native-nonconstructor": "error",
|
155
|
+
"no-new-symbol": "error",
|
156
|
+
"no-new-wrappers": "error",
|
157
|
+
"no-nonoctal-decimal-escape": "error",
|
158
|
+
"no-obj-calls": "error",
|
159
|
+
"no-object-constructor": "error",
|
160
|
+
"no-octal": "error",
|
161
|
+
"no-octal-escape": "error",
|
162
|
+
"no-param-reassign": "error",
|
163
|
+
"no-plusplus": "error",
|
164
|
+
"no-promise-executor-return": "error",
|
165
|
+
"no-proto": "error",
|
166
|
+
"no-prototype-builtins": "error",
|
167
|
+
"no-redeclare": "error",
|
168
|
+
"no-regex-spaces": "error",
|
169
|
+
"no-restricted-exports": "error",
|
170
|
+
"no-restricted-globals": "error",
|
171
|
+
"no-restricted-imports": "error",
|
172
|
+
"no-restricted-properties": "error",
|
173
|
+
"no-restricted-syntax": "error",
|
174
|
+
"no-return-assign": "error",
|
175
|
+
"no-script-url": "error",
|
176
|
+
"no-self-assign": "error",
|
177
|
+
"no-self-compare": "error",
|
178
|
+
"no-sequences": "error",
|
179
|
+
"no-setter-return": "error",
|
180
|
+
"no-shadow": "error",
|
181
|
+
"no-shadow-restricted-names": "error",
|
182
|
+
"no-sparse-arrays": "error",
|
183
|
+
"no-tabs": "error",
|
184
|
+
"no-template-curly-in-string": "error",
|
185
|
+
"no-ternary": "error",
|
186
|
+
"no-this-before-super": "error",
|
187
|
+
"no-throw-literal": "error",
|
188
|
+
"no-trailing-spaces": "error",
|
189
|
+
"no-undef": "error",
|
190
|
+
"no-undef-init": "error",
|
191
|
+
"no-undefined": "error",
|
192
|
+
"no-underscore-dangle": "error",
|
193
|
+
"no-unexpected-multiline": "error",
|
194
|
+
"no-unmodified-loop-condition": "error",
|
195
|
+
"no-unneeded-ternary": "error",
|
196
|
+
"no-unreachable": "error",
|
197
|
+
"no-unreachable-loop": "error",
|
198
|
+
"no-unsafe-finally": "error",
|
199
|
+
"no-unsafe-negation": "error",
|
200
|
+
"no-unsafe-optional-chaining": "error",
|
201
|
+
"no-unused-expressions": "error",
|
202
|
+
"no-unused-labels": "error",
|
203
|
+
"no-unused-private-class-members": "error",
|
204
|
+
"no-unused-vars": "error",
|
205
|
+
"no-use-before-define": "error",
|
206
|
+
"no-useless-backreference": "error",
|
207
|
+
"no-useless-call": "error",
|
208
|
+
"no-useless-catch": "error",
|
209
|
+
"no-useless-computed-key": "error",
|
210
|
+
"no-useless-concat": "error",
|
211
|
+
"no-useless-constructor": "error",
|
212
|
+
"no-useless-escape": "error",
|
213
|
+
"no-useless-rename": "error",
|
214
|
+
"no-useless-return": "error",
|
215
|
+
"no-var": "error",
|
216
|
+
"no-void": "error",
|
217
|
+
"no-warning-comments": "error",
|
218
|
+
"no-whitespace-before-property": "error",
|
219
|
+
"no-with": "error",
|
220
|
+
"nonblock-statement-body-position": "error",
|
221
|
+
"object-curly-newline": "error",
|
222
|
+
"object-curly-spacing": "error",
|
223
|
+
"object-property-newline": "error",
|
224
|
+
"object-shorthand": "error",
|
225
|
+
"one-var": "error",
|
226
|
+
"one-var-declaration-per-line": "error",
|
227
|
+
"operator-assignment": "error",
|
228
|
+
"operator-linebreak": "error",
|
229
|
+
"padded-blocks": "error",
|
230
|
+
"padding-line-between-statements": "error",
|
231
|
+
"prefer-arrow-callback": "error",
|
232
|
+
"prefer-const": "error",
|
233
|
+
"prefer-destructuring": "error",
|
234
|
+
"prefer-exponentiation-operator": "error",
|
235
|
+
"prefer-named-capture-group": "error",
|
236
|
+
"prefer-numeric-literals": "error",
|
237
|
+
"prefer-object-has-own": "error",
|
238
|
+
"prefer-object-spread": "error",
|
239
|
+
"prefer-promise-reject-errors": "error",
|
240
|
+
"prefer-regex-literals": "error",
|
241
|
+
"prefer-rest-params": "error",
|
242
|
+
"prefer-spread": "error",
|
243
|
+
"prefer-template": "error",
|
244
|
+
"quote-props": "error",
|
245
|
+
"quotes": "error",
|
246
|
+
"radix": "error",
|
247
|
+
"require-atomic-updates": "error",
|
248
|
+
"require-await": "error",
|
249
|
+
"require-unicode-regexp": "error",
|
250
|
+
"require-yield": "error",
|
251
|
+
"rest-spread-spacing": "error",
|
252
|
+
"semi": "error",
|
253
|
+
"semi-spacing": "error",
|
254
|
+
"semi-style": "error",
|
255
|
+
"sort-imports": "error",
|
256
|
+
"sort-keys": "error",
|
257
|
+
"sort-vars": "error",
|
258
|
+
"space-before-blocks": "error",
|
259
|
+
"space-before-function-paren": "error",
|
260
|
+
"space-in-parens": "error",
|
261
|
+
"space-infix-ops": "error",
|
262
|
+
"space-unary-ops": "error",
|
263
|
+
"spaced-comment": "error",
|
264
|
+
"strict": "error",
|
265
|
+
"switch-colon-spacing": "error",
|
266
|
+
"symbol-description": "error",
|
267
|
+
"template-curly-spacing": "error",
|
268
|
+
"template-tag-spacing": "error",
|
269
|
+
"unicode-bom": "error",
|
270
|
+
"use-isnan": "error",
|
271
|
+
"valid-typeof": "error",
|
272
|
+
"vars-on-top": "error",
|
273
|
+
"wrap-iife": "error",
|
274
|
+
"wrap-regex": "error",
|
275
|
+
"yield-star-spacing": "error",
|
276
|
+
"yoda": "error"
|
277
|
+
}
|
278
|
+
});
|
@@ -0,0 +1,76 @@
|
|
1
|
+
/**
|
2
|
+
* @fileoverview Configuration applied when a user configuration extends from
|
3
|
+
* eslint:recommended.
|
4
|
+
* @author Nicholas C. Zakas
|
5
|
+
*/
|
6
|
+
|
7
|
+
"use strict";
|
8
|
+
|
9
|
+
/* eslint sort-keys: ["error", "asc"] -- Long, so make more readable */
|
10
|
+
|
11
|
+
/** @type {import("../lib/shared/types").ConfigData} */
|
12
|
+
module.exports = Object.freeze({
|
13
|
+
rules: Object.freeze({
|
14
|
+
"constructor-super": "error",
|
15
|
+
"for-direction": "error",
|
16
|
+
"getter-return": "error",
|
17
|
+
"no-async-promise-executor": "error",
|
18
|
+
"no-case-declarations": "error",
|
19
|
+
"no-class-assign": "error",
|
20
|
+
"no-compare-neg-zero": "error",
|
21
|
+
"no-cond-assign": "error",
|
22
|
+
"no-const-assign": "error",
|
23
|
+
"no-constant-condition": "error",
|
24
|
+
"no-control-regex": "error",
|
25
|
+
"no-debugger": "error",
|
26
|
+
"no-delete-var": "error",
|
27
|
+
"no-dupe-args": "error",
|
28
|
+
"no-dupe-class-members": "error",
|
29
|
+
"no-dupe-else-if": "error",
|
30
|
+
"no-dupe-keys": "error",
|
31
|
+
"no-duplicate-case": "error",
|
32
|
+
"no-empty": "error",
|
33
|
+
"no-empty-character-class": "error",
|
34
|
+
"no-empty-pattern": "error",
|
35
|
+
"no-ex-assign": "error",
|
36
|
+
"no-extra-boolean-cast": "error",
|
37
|
+
"no-extra-semi": "error",
|
38
|
+
"no-fallthrough": "error",
|
39
|
+
"no-func-assign": "error",
|
40
|
+
"no-global-assign": "error",
|
41
|
+
"no-import-assign": "error",
|
42
|
+
"no-inner-declarations": "error",
|
43
|
+
"no-invalid-regexp": "error",
|
44
|
+
"no-irregular-whitespace": "error",
|
45
|
+
"no-loss-of-precision": "error",
|
46
|
+
"no-misleading-character-class": "error",
|
47
|
+
"no-mixed-spaces-and-tabs": "error",
|
48
|
+
"no-new-symbol": "error",
|
49
|
+
"no-nonoctal-decimal-escape": "error",
|
50
|
+
"no-obj-calls": "error",
|
51
|
+
"no-octal": "error",
|
52
|
+
"no-prototype-builtins": "error",
|
53
|
+
"no-redeclare": "error",
|
54
|
+
"no-regex-spaces": "error",
|
55
|
+
"no-self-assign": "error",
|
56
|
+
"no-setter-return": "error",
|
57
|
+
"no-shadow-restricted-names": "error",
|
58
|
+
"no-sparse-arrays": "error",
|
59
|
+
"no-this-before-super": "error",
|
60
|
+
"no-undef": "error",
|
61
|
+
"no-unexpected-multiline": "error",
|
62
|
+
"no-unreachable": "error",
|
63
|
+
"no-unsafe-finally": "error",
|
64
|
+
"no-unsafe-negation": "error",
|
65
|
+
"no-unsafe-optional-chaining": "error",
|
66
|
+
"no-unused-labels": "error",
|
67
|
+
"no-unused-vars": "error",
|
68
|
+
"no-useless-backreference": "error",
|
69
|
+
"no-useless-catch": "error",
|
70
|
+
"no-useless-escape": "error",
|
71
|
+
"no-with": "error",
|
72
|
+
"require-yield": "error",
|
73
|
+
"use-isnan": "error",
|
74
|
+
"valid-typeof": "error"
|
75
|
+
})
|
76
|
+
});
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* @fileoverview Main package entrypoint.
|
3
|
+
* @author Nicholas C. Zakas
|
4
|
+
*/
|
5
|
+
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
//------------------------------------------------------------------------------
|
9
|
+
// Public Interface
|
10
|
+
//------------------------------------------------------------------------------
|
11
|
+
|
12
|
+
module.exports = {
|
13
|
+
configs: {
|
14
|
+
all: require("./configs/eslint-all"),
|
15
|
+
recommended: require("./configs/eslint-recommended")
|
16
|
+
}
|
17
|
+
};
|
@@ -0,0 +1,201 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|