|
1 | | -import stylistic from "@stylistic/eslint-plugin"; |
2 | | -import typescript from "@typescript-eslint/parser"; |
3 | | -import perfectionist from "eslint-plugin-perfectionist"; |
4 | | - |
5 | | -export default [ |
6 | | - { // Ignore the `dist` directory. |
7 | | - ignores: [ |
8 | | - "dist/*" |
9 | | - ] |
10 | | - }, |
11 | | - { // Apply to `cjs`, `.mjs` and `.js` files. |
12 | | - files: ["**/*.?([cm])js"] |
13 | | - }, |
14 | | - { // Apply to `.ts` files. |
15 | | - files: ["**/*.ts"], |
16 | | - languageOptions: { |
17 | | - parser: typescript, |
18 | | - parserOptions: { |
19 | | - sourceType: "module" |
20 | | - } |
21 | | - } |
22 | | - }, |
23 | | - { |
24 | | - plugins: { |
25 | | - "@stylistic": stylistic |
26 | | - }, |
27 | | - rules: { |
28 | | - "@stylistic/array-bracket-spacing": ["error", "never"], |
29 | | - "@stylistic/arrow-parens": ["error", "always"], |
30 | | - "@stylistic/arrow-spacing": "error", |
31 | | - "@stylistic/block-spacing": ["error", "always"], |
32 | | - "@stylistic/brace-style": ["error", "stroustrup"], |
33 | | - "@stylistic/comma-dangle": ["error", "never"], |
34 | | - "@stylistic/comma-spacing": ["error", { after: true, before: false }], |
35 | | - "@stylistic/dot-location": ["error", "property"], |
36 | | - "@stylistic/eol-last": ["error", "always"], |
37 | | - "@stylistic/function-call-spacing": ["error", "never"], |
38 | | - "@stylistic/indent": ["error", 2], |
39 | | - "@stylistic/no-trailing-spaces": "error", |
40 | | - "@stylistic/quotes": ["error", "double"], |
41 | | - "@stylistic/semi": ["error", "always"] |
42 | | - } |
43 | | - }, |
44 | | - perfectionist.configs["recommended-alphabetical"] |
45 | | -]; |
| 1 | +import vexcited from "@vexcited/eslint-config"; |
| 2 | +export default vexcited(); |
0 commit comments