Skip to content

Commit fbe555c

Browse files
committed
style: use @fig/eslint-config-autocomplete package
1 parent 617bd65 commit fbe555c

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

.eslintrc.cjs

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
module.exports = {
2-
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
3-
parserOptions: {
4-
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
5-
sourceType: "module", // Allows for the use of imports
6-
},
72
extends: [
8-
"plugin:@typescript-eslint/recommended",
9-
"plugin:@withfig/fig-linter/recommended",
10-
"plugin:compat/recommended",
3+
"@fig/autocomplete"
114
],
12-
env: {
13-
browser: true,
14-
},
15-
plugins: ["@withfig/fig-linter"],
16-
rules: {
17-
"@typescript-eslint/explicit-module-boundary-types": 0,
18-
"no-unused-vars": ["off"],
19-
"no-var": ["off"],
20-
"@typescript-eslint/no-unused-vars": ["off"],
21-
},
225
};

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,17 @@
6262
"repository": "https://github.com/withfig/autocomplete",
6363
"devDependencies": {
6464
"@fig/autocomplete-generators": "^1.0.0",
65+
"@fig/eslint-config-autocomplete": "^1.0.0",
6566
"@types/inquirer": "^7.3.1",
6667
"@types/node": "^14.14.33",
6768
"@types/progress": "^2.0.3",
68-
"@typescript-eslint/eslint-plugin": "^5.12.0",
69-
"@typescript-eslint/parser": "^5.12.0",
7069
"@withfig/autocomplete-tools": "^2.4.0",
7170
"@withfig/autocomplete-types": "^1.10.0",
72-
"@withfig/eslint-plugin-fig-linter": "^1.0.0",
7371
"chalk": "^4.1.0",
7472
"chokidar": "^3.5.1",
7573
"danger": "^10.6.4",
7674
"esbuild": "^0.12.15",
7775
"eslint": "^8.9.0",
78-
"eslint-config-prettier": "^8.1.0",
79-
"eslint-plugin-compat": "^4.0.2",
80-
"eslint-plugin-prettier": "^3.3.1",
8176
"fast-glob": "^3.2.7",
8277
"husky": "^6.0.0",
8378
"lint-staged": "^10.5.4",

0 commit comments

Comments
 (0)