@effect-app/eslint-shared-config 0.0.2 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/node_modules/@ben_12/eslint-plugin-dprint/LICENSE +21 -0
  3. package/node_modules/@ben_12/eslint-plugin-dprint/README.md +215 -0
  4. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/configs/disable-conflict-rules.d.ts +110 -0
  5. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/configs/disable-conflict-rules.js +114 -0
  6. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/configs/disable-conflict-rules.js.map +1 -0
  7. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/configs/recommended.d.ts +159 -0
  8. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/configs/recommended.js +60 -0
  9. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/configs/recommended.js.map +1 -0
  10. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/dockerfile-config-schema.json +52 -0
  11. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/dprint.d.ts +8 -0
  12. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/dprint.js +188 -0
  13. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/dprint.js.map +1 -0
  14. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/graphql-config-schema.json +255 -0
  15. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/json-config-schema.json +187 -0
  16. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/malva-config-schema.json +363 -0
  17. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/markdown-config-schema.json +187 -0
  18. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/markup-config-schema.json +534 -0
  19. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/toml-config-schema.json +125 -0
  20. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/typescript-config-schema.json +1898 -0
  21. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/yaml-config-schema.json +126 -0
  22. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/index.d.ts +1 -0
  23. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/index.js +21 -0
  24. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/index.js.map +1 -0
  25. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/rules/dprint.d.ts +4 -0
  26. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/rules/dprint.js +261 -0
  27. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/rules/dprint.js.map +1 -0
  28. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/util/difference-iterator.d.ts +49 -0
  29. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/util/difference-iterator.js +129 -0
  30. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/util/difference-iterator.js.map +1 -0
  31. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/util/predicate.d.ts +10 -0
  32. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/util/predicate.js +20 -0
  33. package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/util/predicate.js.map +1 -0
  34. package/node_modules/@ben_12/eslint-plugin-dprint/package.json +122 -0
  35. package/package.json +27 -11
  36. package/patches/@ben_12+eslint-plugin-dprint+1.7.5.patch +39 -0
  37. package/src/dprint.json +32 -0
  38. package/src/eslint.vue.config.mjs +25 -24
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @effect-app/eslint-shared-config
2
2
 
3
+ ## 0.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 41ba3e9: fix publication
8
+ - @effect-app/eslint-codegen-model@1.42.3
9
+
10
+ ## 0.0.5
11
+
12
+ ### Patch Changes
13
+
14
+ - 9c1de6c: trying to internally patch benten+2
15
+ - @effect-app/eslint-codegen-model@1.42.3
16
+
17
+ ## 0.0.4
18
+
19
+ ### Patch Changes
20
+
21
+ - f35da3c: porting more to eslint shared config package
22
+ - @effect-app/eslint-codegen-model@1.42.3
23
+
3
24
  ## 0.0.2
4
25
 
5
26
  ### Patch Changes
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Toru Nagashima
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,215 @@
1
+ # eslint-plugin-dprint
2
+
3
+ [![GitHub](https://img.shields.io/github/license/ben12/eslint-plugin-dprint)](https://github.com/ben12/eslint-plugin-dprint/blob/master/LICENSE)
4
+ [![npm version](https://img.shields.io/npm/v/@ben_12/eslint-plugin-dprint.svg)](https://www.npmjs.com/package/@ben_12/eslint-plugin-dprint)
5
+ [![Downloads/month](https://img.shields.io/npm/dm/@ben_12/eslint-plugin-dprint.svg)](http://www.npmtrends.com/@ben_12/eslint-plugin-dprint)\
6
+ [![node-current](https://img.shields.io/node/v/%40ben_12%2Feslint-plugin-dprint)](https://nodejs.org)
7
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/eslint)](https://www.npmjs.com/package/eslint)
8
+ ![npm bundle size](https://img.shields.io/bundlephobia/min/%40ben_12%2Feslint-plugin-dprint)\
9
+ [![Build Status](https://github.com/ben12/eslint-plugin-dprint/workflows/CI/badge.svg)](https://github.com/ben12/eslint-plugin-dprint/actions)
10
+ [![codecov](https://codecov.io/gh/ben12/eslint-plugin-dprint/branch/master/graph/badge.svg)](https://codecov.io/gh/ben12/eslint-plugin-dprint)
11
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ben12_eslint-plugin-dprint&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ben12_eslint-plugin-dprint)
12
+ [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=ben12_eslint-plugin-dprint&metric=code_smells)](https://sonarcloud.io/dashboard?id=ben12_eslint-plugin-dprint)
13
+ [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=ben12_eslint-plugin-dprint&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=ben12_eslint-plugin-dprint)
14
+
15
+ > This is an updated fork of mysticatea/eslint-plugin-dprint. Some things are still being adjusted.
16
+
17
+ The plugin that runs [dprint] to format code in ESLint.
18
+
19
+ ## 💿 Installation
20
+
21
+ Use [npm] or a compatible tool.
22
+
23
+ ```sh
24
+ $ npm install -D eslint @ben_12/eslint-plugin-dprint
25
+ ```
26
+
27
+ Then install [dprint] plugin for the language to format.
28
+
29
+ ```sh
30
+ $ npm install -D @dprint/dockerfile
31
+ $ npm install -D @dprint/json
32
+ $ npm install -D @dprint/markdown
33
+ $ npm install -D @dprint/toml
34
+ $ npm install -D @dprint/typescript
35
+ $ npm install -D dprint-plugin-malva
36
+ $ npm install -D dprint-plugin-markup
37
+ $ npm install -D dprint-plugin-yaml
38
+ $ npm install -D dprint-plugin-graphql
39
+ ```
40
+
41
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/%40dprint%2Fdockerfile)](https://dprint.dev/plugins/dockerfile/)
42
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/%40dprint%2Fjson)](https://dprint.dev/plugins/json/)
43
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/%40dprint%2Fmarkdown)](https://dprint.dev/plugins/markdown/)
44
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/%40dprint%2Ftoml)](https://dprint.dev/plugins/toml/)
45
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/%40dprint%2Ftypescript)](https://dprint.dev/plugins/typescript/)
46
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/dprint-plugin-malva)](https://dprint.dev/plugins/malva/)
47
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/dprint-plugin-markup)](https://dprint.dev/plugins/markup_fmt/)
48
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/dprint-plugin-yaml)](https://dprint.dev/plugins/pretty_yaml/)
49
+ [![npm peer dependency version (scoped)](https://img.shields.io/npm/dependency-version/%40ben_12%2Feslint-plugin-dprint/peer/dprint-plugin-graphql)](https://dprint.dev/plugins/pretty_graphql/)
50
+
51
+ ## 📖 Usage
52
+
53
+ Write your ESLint configuration. For example with typescript code:
54
+
55
+ From eslint v9 (flat configuration)
56
+
57
+ ```mjs
58
+ import tsPlugin from "@typescript-eslint/eslint-plugin";
59
+ import tsParser from "@typescript-eslint/parser";
60
+ import dprint from "@ben_12/eslint-plugin-dprint";
61
+
62
+ module.exports = {
63
+ files: ["**/*.ts", "**/*.js"],
64
+
65
+ languageOptions: {
66
+ parser: tsParser
67
+ },
68
+
69
+ plugins: {
70
+ "@typescript-eslint": tsPlugin,
71
+ "@ben_12/dprint": dprint,
72
+ },
73
+
74
+ rules: {
75
+ ...tsPlugin.configs["eslint-recommended"].rules,
76
+ ...tsPlugin.configs["recommended"].rules,
77
+ ...tsPlugin.configs["strict"].rules,
78
+ ...dprint.configs["typescript-recommended"].rules
79
+ "@ben_12/dprint/typescript": [
80
+ "error",
81
+ {
82
+ // Use dprint JSON configuration file (default: "dprint.json")
83
+ // It may be created using `dprint init` command
84
+ // See also https://dprint.dev/config/
85
+ configFile: "dprint.json",
86
+ config: {
87
+ // The TypeScript configuration of dprint
88
+ // See also https://dprint.dev/plugins/typescript/config/
89
+ },
90
+ },
91
+ ],
92
+ },
93
+ };
94
+ ```
95
+
96
+ For old eslint (eslintrc configuration)
97
+
98
+ ```js
99
+ module.exports = {
100
+ extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:@ben_12/dprint/typescript-recommended"],
101
+ rules: {
102
+ "@ben_12/dprint/typescript": [
103
+ "error",
104
+ {
105
+ // Use dprint JSON configuration file (default: "dprint.json")
106
+ // It may be created using `dprint init` command
107
+ // See also https://dprint.dev/config/
108
+ configFile: "dprint.json",
109
+ config: {
110
+ // The TypeScript configuration of dprint
111
+ // See also https://dprint.dev/plugins/typescript/config/
112
+ },
113
+ },
114
+ ],
115
+ },
116
+ };
117
+ ```
118
+
119
+ Then run ESLint with `--fix`!
120
+
121
+ For unparsed eslint file like markdown or dockerfile, you can use [@ben_12/eslint-simple-parser](https://www.npmjs.com/package/@ben_12/eslint-simple-parser) as parser.
122
+
123
+ ```mjs
124
+ import dprint from "@ben_12/eslint-plugin-dprint"
125
+ import simpleParser from "@ben_12/eslint-simple-parser"
126
+
127
+ export default [{
128
+ files: ["**/*.md"],
129
+ plugins: {
130
+ "@ben_12/dprint": dprint,
131
+ },
132
+ languageOptions: {
133
+ parser: simpleParser,
134
+ },
135
+ rules: dprint.configs["markdown-recommended"].rules,
136
+ }]
137
+ ```
138
+
139
+ ### Available Rules
140
+
141
+ | Rule | Description |
142
+ | :-------------------------- | :------------------------------------------------- |
143
+ | [@ben_12/dprint/dockerfile] | Format dockerfile code with [@dprint/dockerfile]. |
144
+ | [@ben_12/dprint/json] | Format json code with [@dprint/json]. |
145
+ | [@ben_12/dprint/markdown] | Format markdown code with [@dprint/markdown]. |
146
+ | [@ben_12/dprint/toml] | Format toml code with [@dprint/toml]. |
147
+ | [@ben_12/dprint/typescript] | Format typescript code with [@dprint/typescript]. |
148
+ | [@ben_12/dprint/malva] | Format css/scss/less/sass code with [malva]. |
149
+ | [@ben_12/dprint/markup] | Format HTML/Vue/Svelte/... code with [markup_fmt]. |
150
+ | [@ben_12/dprint/yaml] | Format YAML code with [pretty_yaml]. |
151
+ | [@ben_12/dprint/graphql] | Format GraphQL code with [pretty_graphql]. |
152
+
153
+ ### Available Configs
154
+
155
+ | Config | Description |
156
+ | :-------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------- |
157
+ | [plugin:@ben_12/dprint/disable-typescript-conflict-rules] | Disable rules where are conflicted with the [@ben_12/dprint/typescript] rule. |
158
+ | [plugin:@ben_12/dprint/dockerfile-recommended] | Enable the [@ben_12/dprint/dockerfile] rule. |
159
+ | [plugin:@ben_12/dprint/json-recommended] | Enable the [@ben_12/dprint/json] rule. |
160
+ | [plugin:@ben_12/dprint/markdown-recommended] | Enable the [@ben_12/dprint/markdown] rule. |
161
+ | [plugin:@ben_12/dprint/toml-recommended] | Enable the [@ben_12/dprint/toml] rule. |
162
+ | [plugin:@ben_12/dprint/typescript-recommended] | Enable the [@ben_12/dprint/typescript] rule along with the [plugin:@ben_12/dprint/disable-typescript-conflict-rules] preset. |
163
+ | [plugin:@ben_12/dprint/malva-recommended] | Enable the [@ben_12/dprint/malva] rule. |
164
+ | [plugin:@ben_12/dprint/markup-recommended] | Enable the [@ben_12/dprint/markup] rule. |
165
+ | [plugin:@ben_12/dprint/yaml-recommended] | Enable the [@ben_12/dprint/yaml] rule. |
166
+ | [plugin:@ben_12/dprint/graphql-recommended] | Enable the [@ben_12/dprint/graphql] rule. |
167
+
168
+ - Put the [plugin:@ben_12/dprint/recommended] or [plugin:@ben_12/dprint/disable-conflict-rules] config into the last of your `extends` list in order to ensure disabling conflict rules where came from other base configurations.
169
+
170
+ ## 📰 Changelog
171
+
172
+ See [GitHub Releases](https://github.com/ben12/eslint-plugin-dprint/releases).
173
+
174
+ ## ❤️ Contributing
175
+
176
+ Welcome contributing!
177
+
178
+ Please use GitHub's Issues/PRs.
179
+
180
+ ### Development Tools
181
+
182
+ - `npm test` ... Run tests. It generates code coverage into `coverage` directory.
183
+ - `npm run watch` ... Run tests when files are edited.
184
+ - `npm version <patch|minor|major>` ... Bump a new version.
185
+
186
+ [dprint]: https://github.com/dprint/dprint
187
+ [@dprint/dockerfile]: https://github.com/dprint/dprint-plugin-dockerfile
188
+ [@dprint/json]: https://github.com/dprint/dprint-plugin-json
189
+ [@dprint/markdown]: https://github.com/dprint/dprint-plugin-markdown
190
+ [@dprint/toml]: https://github.com/dprint/dprint-plugin-toml
191
+ [@dprint/typescript]: https://github.com/dprint/dprint-plugin-typescript
192
+ [malva]: https://github.com/g-plane/malva
193
+ [markup_fmt]: https://github.com/g-plane/markup_fmt
194
+ [pretty_yaml]: https://github.com/g-plane/pretty_yaml
195
+ [pretty_graphql]: https://github.com/g-plane/pretty_graphql
196
+ [npm]: https://www.npmjs.com/
197
+ [@ben_12/dprint/dockerfile]: docs/rules/dprint-dockerfile.md
198
+ [@ben_12/dprint/json]: docs/rules/dprint-json.md
199
+ [@ben_12/dprint/markdown]: docs/rules/dprint-markdown.md
200
+ [@ben_12/dprint/toml]: docs/rules/dprint-toml.md
201
+ [@ben_12/dprint/typescript]: docs/rules/dprint-typescript.md
202
+ [@ben_12/dprint/malva]: docs/rules/dprint-malva.md
203
+ [@ben_12/dprint/markup]: docs/rules/dprint-markup.md
204
+ [@ben_12/dprint/yaml]: docs/rules/dprint-yaml.md
205
+ [@ben_12/dprint/graphql]: docs/rules/dprint-graphql.md
206
+ [plugin:@ben_12/dprint/disable-typescript-conflict-rules]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/disable-typescript-conflict-rules.ts
207
+ [plugin:@ben_12/dprint/dockerfile-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L3
208
+ [plugin:@ben_12/dprint/json-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L10
209
+ [plugin:@ben_12/dprint/markdown-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L17
210
+ [plugin:@ben_12/dprint/toml-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L24
211
+ [plugin:@ben_12/dprint/typescript-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L31
212
+ [plugin:@ben_12/dprint/malva-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L39
213
+ [plugin:@ben_12/dprint/markup-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L46
214
+ [plugin:@ben_12/dprint/yaml-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L53
215
+ [plugin:@ben_12/dprint/graphql-recommended]: https://github.com/ben12/eslint-plugin-dprint/blob/master/lib/configs/recommended.ts#L60
@@ -0,0 +1,110 @@
1
+ export declare const disableTypescriptConflictRules: {
2
+ plugins: string[];
3
+ rules: {
4
+ "array-bracket-newline": string;
5
+ "array-bracket-spacing": string;
6
+ "array-element-newline": string;
7
+ "arrow-body-style": string;
8
+ "arrow-parens": string;
9
+ "arrow-spacing": string;
10
+ "block-spacing": string;
11
+ "brace-style": string;
12
+ "comma-dangle": string;
13
+ "comma-spacing": string;
14
+ "comma-style": string;
15
+ "computed-property-spacing": string;
16
+ curly: string;
17
+ "dot-location": string;
18
+ "eol-last": string;
19
+ "func-call-spacing": string;
20
+ "function-call-argument-newline": string;
21
+ "function-paren-newline": string;
22
+ "generator-star": string;
23
+ "generator-star-spacing": string;
24
+ "implicit-arrow-linebreak": string;
25
+ indent: string;
26
+ "indent-legacy": string;
27
+ "jsx-quotes": string;
28
+ "key-spacing": string;
29
+ "keyword-spacing": string;
30
+ "linebreak-style": string;
31
+ "max-len": string;
32
+ "multiline-ternary": string;
33
+ "new-parens": string;
34
+ "newline-per-chained-call": string;
35
+ "no-arrow-condition": string;
36
+ "no-comma-dangle": string;
37
+ "no-confusing-arrow": string;
38
+ "no-extra-semi": string;
39
+ "no-floating-decimal": string;
40
+ "no-mixed-spaces-and-tabs": string;
41
+ "no-multi-spaces": string;
42
+ "no-multiple-empty-lines": string;
43
+ "no-reserved-keys": string;
44
+ "no-spaced-func": string;
45
+ "no-space-before-semi": string;
46
+ "no-tabs": string;
47
+ "no-trailing-spaces": string;
48
+ "no-whitespace-before-property": string;
49
+ "no-wrap-func": string;
50
+ "nonblock-statement-body-position": string;
51
+ "object-curly-newline": string;
52
+ "object-curly-spacing": string;
53
+ "object-property-newline": string;
54
+ "one-var-declaration-per-line": string;
55
+ "operator-linebreak": string;
56
+ "padded-blocks": string;
57
+ "quote-props": string;
58
+ quotes: string;
59
+ "rest-spread-spacing": string;
60
+ semi: string;
61
+ "semi-spacing": string;
62
+ "semi-style": string;
63
+ "space-after-function-name": string;
64
+ "space-after-keywords": string;
65
+ "space-before-blocks": string;
66
+ "space-before-function-paren": string;
67
+ "space-before-function-parentheses": string;
68
+ "space-before-keywords": string;
69
+ "space-in-brackets": string;
70
+ "space-in-parens": string;
71
+ "space-infix-ops": string;
72
+ "space-return-throw-case": string;
73
+ "space-unary-ops": string;
74
+ "space-unary-word-ops": string;
75
+ "switch-colon-spacing": string;
76
+ "template-curly-spacing": string;
77
+ "template-tag-spacing": string;
78
+ "unicode-bom": string;
79
+ "wrap-iife": string;
80
+ "wrap-regex": string;
81
+ "yield-star-spacing": string;
82
+ "@typescript-eslint/brace-style": string;
83
+ "@typescript-eslint/comma-spacing": string;
84
+ "@typescript-eslint/func-call-spacing": string;
85
+ "@typescript-eslint/indent": string;
86
+ "@typescript-eslint/keyword-spacing": string;
87
+ "@typescript-eslint/member-delimiter-style": string;
88
+ "@typescript-eslint/no-extra-parens": string;
89
+ "@typescript-eslint/no-extra-semi": string;
90
+ "@typescript-eslint/quotes": string;
91
+ "@typescript-eslint/semi": string;
92
+ "@typescript-eslint/space-before-function-paren": string;
93
+ "@typescript-eslint/type-annotation-spacing": string;
94
+ "react/jsx-child-element-spacing": string;
95
+ "react/jsx-closing-bracket-location": string;
96
+ "react/jsx-closing-tag-location": string;
97
+ "react/jsx-curly-newline": string;
98
+ "react/jsx-curly-spacing": string;
99
+ "react/jsx-equals-spacing": string;
100
+ "react/jsx-first-prop-new-line": string;
101
+ "react/jsx-indent": string;
102
+ "react/jsx-indent-props": string;
103
+ "react/jsx-max-props-per-line": string;
104
+ "react/jsx-one-expression-per-line": string;
105
+ "react/jsx-props-no-multi-spaces": string;
106
+ "react/jsx-space-before-closing": string;
107
+ "react/jsx-tag-spacing": string;
108
+ "react/jsx-wrap-multilines": string;
109
+ };
110
+ };
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.disableTypescriptConflictRules = void 0;
4
+ exports.disableTypescriptConflictRules = {
5
+ plugins: ["@ben_12/dprint"],
6
+ rules: {
7
+ "array-bracket-newline": "off",
8
+ "array-bracket-spacing": "off",
9
+ "array-element-newline": "off",
10
+ "arrow-body-style": "off",
11
+ "arrow-parens": "off",
12
+ "arrow-spacing": "off",
13
+ "block-spacing": "off",
14
+ "brace-style": "off",
15
+ "comma-dangle": "off",
16
+ "comma-spacing": "off",
17
+ "comma-style": "off",
18
+ "computed-property-spacing": "off",
19
+ curly: "off",
20
+ "dot-location": "off",
21
+ "eol-last": "off",
22
+ "func-call-spacing": "off",
23
+ "function-call-argument-newline": "off",
24
+ "function-paren-newline": "off",
25
+ "generator-star": "off",
26
+ "generator-star-spacing": "off",
27
+ "implicit-arrow-linebreak": "off",
28
+ indent: "off",
29
+ "indent-legacy": "off",
30
+ "jsx-quotes": "off",
31
+ "key-spacing": "off",
32
+ "keyword-spacing": "off",
33
+ "linebreak-style": "off",
34
+ "max-len": "off",
35
+ "multiline-ternary": "off",
36
+ "new-parens": "off",
37
+ "newline-per-chained-call": "off",
38
+ "no-arrow-condition": "off",
39
+ "no-comma-dangle": "off",
40
+ "no-confusing-arrow": "off",
41
+ "no-extra-semi": "off",
42
+ "no-floating-decimal": "off",
43
+ "no-mixed-spaces-and-tabs": "off",
44
+ "no-multi-spaces": "off",
45
+ "no-multiple-empty-lines": "off",
46
+ "no-reserved-keys": "off",
47
+ "no-spaced-func": "off",
48
+ "no-space-before-semi": "off",
49
+ "no-tabs": "off",
50
+ "no-trailing-spaces": "off",
51
+ "no-whitespace-before-property": "off",
52
+ "no-wrap-func": "off",
53
+ "nonblock-statement-body-position": "off",
54
+ "object-curly-newline": "off",
55
+ "object-curly-spacing": "off",
56
+ "object-property-newline": "off",
57
+ "one-var-declaration-per-line": "off",
58
+ "operator-linebreak": "off",
59
+ "padded-blocks": "off",
60
+ "quote-props": "off",
61
+ quotes: "off",
62
+ "rest-spread-spacing": "off",
63
+ semi: "off",
64
+ "semi-spacing": "off",
65
+ "semi-style": "off",
66
+ "space-after-function-name": "off",
67
+ "space-after-keywords": "off",
68
+ "space-before-blocks": "off",
69
+ "space-before-function-paren": "off",
70
+ "space-before-function-parentheses": "off",
71
+ "space-before-keywords": "off",
72
+ "space-in-brackets": "off",
73
+ "space-in-parens": "off",
74
+ "space-infix-ops": "off",
75
+ "space-return-throw-case": "off",
76
+ "space-unary-ops": "off",
77
+ "space-unary-word-ops": "off",
78
+ "switch-colon-spacing": "off",
79
+ "template-curly-spacing": "off",
80
+ "template-tag-spacing": "off",
81
+ "unicode-bom": "off",
82
+ "wrap-iife": "off",
83
+ "wrap-regex": "off",
84
+ "yield-star-spacing": "off",
85
+ "@typescript-eslint/brace-style": "off",
86
+ "@typescript-eslint/comma-spacing": "off",
87
+ "@typescript-eslint/func-call-spacing": "off",
88
+ "@typescript-eslint/indent": "off",
89
+ "@typescript-eslint/keyword-spacing": "off",
90
+ "@typescript-eslint/member-delimiter-style": "off",
91
+ "@typescript-eslint/no-extra-parens": "off",
92
+ "@typescript-eslint/no-extra-semi": "off",
93
+ "@typescript-eslint/quotes": "off",
94
+ "@typescript-eslint/semi": "off",
95
+ "@typescript-eslint/space-before-function-paren": "off",
96
+ "@typescript-eslint/type-annotation-spacing": "off",
97
+ "react/jsx-child-element-spacing": "off",
98
+ "react/jsx-closing-bracket-location": "off",
99
+ "react/jsx-closing-tag-location": "off",
100
+ "react/jsx-curly-newline": "off",
101
+ "react/jsx-curly-spacing": "off",
102
+ "react/jsx-equals-spacing": "off",
103
+ "react/jsx-first-prop-new-line": "off",
104
+ "react/jsx-indent": "off",
105
+ "react/jsx-indent-props": "off",
106
+ "react/jsx-max-props-per-line": "off",
107
+ "react/jsx-one-expression-per-line": "off",
108
+ "react/jsx-props-no-multi-spaces": "off",
109
+ "react/jsx-space-before-closing": "off",
110
+ "react/jsx-tag-spacing": "off",
111
+ "react/jsx-wrap-multilines": "off",
112
+ },
113
+ };
114
+ //# sourceMappingURL=disable-conflict-rules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disable-conflict-rules.js","sourceRoot":"","sources":["../../../lib/configs/disable-conflict-rules.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC1C,OAAO,EAAE,CAAC,gBAAgB,CAAC;IAC3B,KAAK,EAAE;QACH,uBAAuB,EAAE,KAAK;QA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B,EAAE,KAAK;QACjC,+BAA+B,EAAE,KAAK;QACtC,kBAAkB,EAAE,KAAK;QACzB,wBAAwB,EAAE,KAAK;QAC/B,8BAA8B,EAAE,KAAK;QACrC,mCAAmC,EAAE,KAAK;QAC1C,iCAAiC,EAAE,KAAK;QACxC,gCAAgC,EAAE,KAAK;QACvC,uBAAuB,EAAE,KAAK;QAC9B,2BAA2B,EAAE,KAAK;KACrC;CACJ,CAAA"}
@@ -0,0 +1,159 @@
1
+ export declare const dockerfileRecommended: {
2
+ plugins: string[];
3
+ rules: {
4
+ "@ben_12/dprint/dockerfile": string;
5
+ };
6
+ };
7
+ export declare const jsonRecommended: {
8
+ plugins: string[];
9
+ rules: {
10
+ "@ben_12/dprint/json": string;
11
+ };
12
+ };
13
+ export declare const markdownRecommended: {
14
+ plugins: string[];
15
+ rules: {
16
+ "@ben_12/dprint/markdown": string;
17
+ };
18
+ };
19
+ export declare const tomlRecommended: {
20
+ plugins: string[];
21
+ rules: {
22
+ "@ben_12/dprint/toml": string;
23
+ };
24
+ };
25
+ export declare const typescriptRecommended: {
26
+ plugins: string[];
27
+ rules: {
28
+ "@ben_12/dprint/typescript": string;
29
+ "array-bracket-newline": string;
30
+ "array-bracket-spacing": string;
31
+ "array-element-newline": string;
32
+ "arrow-body-style": string;
33
+ "arrow-parens": string;
34
+ "arrow-spacing": string;
35
+ "block-spacing": string;
36
+ "brace-style": string;
37
+ "comma-dangle": string;
38
+ "comma-spacing": string;
39
+ "comma-style": string;
40
+ "computed-property-spacing": string;
41
+ curly: string;
42
+ "dot-location": string;
43
+ "eol-last": string;
44
+ "func-call-spacing": string;
45
+ "function-call-argument-newline": string;
46
+ "function-paren-newline": string;
47
+ "generator-star": string;
48
+ "generator-star-spacing": string;
49
+ "implicit-arrow-linebreak": string;
50
+ indent: string;
51
+ "indent-legacy": string;
52
+ "jsx-quotes": string;
53
+ "key-spacing": string;
54
+ "keyword-spacing": string;
55
+ "linebreak-style": string;
56
+ "max-len": string;
57
+ "multiline-ternary": string;
58
+ "new-parens": string;
59
+ "newline-per-chained-call": string;
60
+ "no-arrow-condition": string;
61
+ "no-comma-dangle": string;
62
+ "no-confusing-arrow": string;
63
+ "no-extra-semi": string;
64
+ "no-floating-decimal": string;
65
+ "no-mixed-spaces-and-tabs": string;
66
+ "no-multi-spaces": string;
67
+ "no-multiple-empty-lines": string;
68
+ "no-reserved-keys": string;
69
+ "no-spaced-func": string;
70
+ "no-space-before-semi": string;
71
+ "no-tabs": string;
72
+ "no-trailing-spaces": string;
73
+ "no-whitespace-before-property": string;
74
+ "no-wrap-func": string;
75
+ "nonblock-statement-body-position": string;
76
+ "object-curly-newline": string;
77
+ "object-curly-spacing": string;
78
+ "object-property-newline": string;
79
+ "one-var-declaration-per-line": string;
80
+ "operator-linebreak": string;
81
+ "padded-blocks": string;
82
+ "quote-props": string;
83
+ quotes: string;
84
+ "rest-spread-spacing": string;
85
+ semi: string;
86
+ "semi-spacing": string;
87
+ "semi-style": string;
88
+ "space-after-function-name": string;
89
+ "space-after-keywords": string;
90
+ "space-before-blocks": string;
91
+ "space-before-function-paren": string;
92
+ "space-before-function-parentheses": string;
93
+ "space-before-keywords": string;
94
+ "space-in-brackets": string;
95
+ "space-in-parens": string;
96
+ "space-infix-ops": string;
97
+ "space-return-throw-case": string;
98
+ "space-unary-ops": string;
99
+ "space-unary-word-ops": string;
100
+ "switch-colon-spacing": string;
101
+ "template-curly-spacing": string;
102
+ "template-tag-spacing": string;
103
+ "unicode-bom": string;
104
+ "wrap-iife": string;
105
+ "wrap-regex": string;
106
+ "yield-star-spacing": string;
107
+ "@typescript-eslint/brace-style": string;
108
+ "@typescript-eslint/comma-spacing": string;
109
+ "@typescript-eslint/func-call-spacing": string;
110
+ "@typescript-eslint/indent": string;
111
+ "@typescript-eslint/keyword-spacing": string;
112
+ "@typescript-eslint/member-delimiter-style": string;
113
+ "@typescript-eslint/no-extra-parens": string;
114
+ "@typescript-eslint/no-extra-semi": string;
115
+ "@typescript-eslint/quotes": string;
116
+ "@typescript-eslint/semi": string;
117
+ "@typescript-eslint/space-before-function-paren": string;
118
+ "@typescript-eslint/type-annotation-spacing": string;
119
+ "react/jsx-child-element-spacing": string;
120
+ "react/jsx-closing-bracket-location": string;
121
+ "react/jsx-closing-tag-location": string;
122
+ "react/jsx-curly-newline": string;
123
+ "react/jsx-curly-spacing": string;
124
+ "react/jsx-equals-spacing": string;
125
+ "react/jsx-first-prop-new-line": string;
126
+ "react/jsx-indent": string;
127
+ "react/jsx-indent-props": string;
128
+ "react/jsx-max-props-per-line": string;
129
+ "react/jsx-one-expression-per-line": string;
130
+ "react/jsx-props-no-multi-spaces": string;
131
+ "react/jsx-space-before-closing": string;
132
+ "react/jsx-tag-spacing": string;
133
+ "react/jsx-wrap-multilines": string;
134
+ };
135
+ };
136
+ export declare const malvaRecommended: {
137
+ plugins: string[];
138
+ rules: {
139
+ "@ben_12/dprint/malva": string;
140
+ };
141
+ };
142
+ export declare const markupRecommended: {
143
+ plugins: string[];
144
+ rules: {
145
+ "@ben_12/dprint/markup": string;
146
+ };
147
+ };
148
+ export declare const yamlRecommended: {
149
+ plugins: string[];
150
+ rules: {
151
+ "@ben_12/dprint/yaml": string;
152
+ };
153
+ };
154
+ export declare const graphqlRecommended: {
155
+ plugins: string[];
156
+ rules: {
157
+ "@ben_12/dprint/graphql": string;
158
+ };
159
+ };