Skip to content

Commit

Permalink
style: use @fig/eslint-config-autocomplete package
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeci committed Mar 12, 2022
1 parent 617bd65 commit fbe555c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
19 changes: 1 addition & 18 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -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"],
},
};
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fbe555c

Please sign in to comment.