mirror of
https://github.com/withfig/autocomplete.git
synced 2025-12-13 20:36:48 +01:00
style: use @fig/eslint-config-autocomplete package
This commit is contained in:
@@ -1,22 +1,5 @@
|
||||
module.exports = {
|
||||
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
|
||||
parserOptions: {
|
||||
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
|
||||
sourceType: "module", // Allows for the use of imports
|
||||
},
|
||||
extends: [
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:@withfig/fig-linter/recommended",
|
||||
"plugin:compat/recommended",
|
||||
"@fig/autocomplete"
|
||||
],
|
||||
env: {
|
||||
browser: true,
|
||||
},
|
||||
plugins: ["@withfig/fig-linter"],
|
||||
rules: {
|
||||
"@typescript-eslint/explicit-module-boundary-types": 0,
|
||||
"no-unused-vars": ["off"],
|
||||
"no-var": ["off"],
|
||||
"@typescript-eslint/no-unused-vars": ["off"],
|
||||
},
|
||||
};
|
||||
|
||||
@@ -62,22 +62,17 @@
|
||||
"repository": "https://github.com/withfig/autocomplete",
|
||||
"devDependencies": {
|
||||
"@fig/autocomplete-generators": "^1.0.0",
|
||||
"@fig/eslint-config-autocomplete": "^1.0.0",
|
||||
"@types/inquirer": "^7.3.1",
|
||||
"@types/node": "^14.14.33",
|
||||
"@types/progress": "^2.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
||||
"@typescript-eslint/parser": "^5.12.0",
|
||||
"@withfig/autocomplete-tools": "^2.4.0",
|
||||
"@withfig/autocomplete-types": "^1.10.0",
|
||||
"@withfig/eslint-plugin-fig-linter": "^1.0.0",
|
||||
"chalk": "^4.1.0",
|
||||
"chokidar": "^3.5.1",
|
||||
"danger": "^10.6.4",
|
||||
"esbuild": "^0.12.15",
|
||||
"eslint": "^8.9.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
"eslint-plugin-compat": "^4.0.2",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"fast-glob": "^3.2.7",
|
||||
"husky": "^6.0.0",
|
||||
"lint-staged": "^10.5.4",
|
||||
|
||||
Reference in New Issue
Block a user