Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
BarnabyShearer committed Apr 30, 2024
1 parent 05171b3 commit 98bc153
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
npmRegistryServer: https://registry.npmjs.org
npmRegistries:
//registry.npmjs.org:
npmAuthToken: '${NPM_AUTH_TOKEN}'
npmAuthToken: "${NPM_AUTH_TOKEN}"
33 changes: 32 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,35 @@
module.exports = {
extends: ["typescript", "prettier"],
extends: [
"prettier",
"eslint:recommended",
"plugin:node/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:deprecation/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2021,
sourceType: "module",
project: ["./tsconfig.json"],
},
plugins: ["prettier", "@typescript-eslint", "filenames"],
rules: {
"node/no-missing-import": "off",
eqeqeq: ["error"],
"@typescript-eslint/no-shadow": 2,
semi: ["error", "always"],
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/switch-exhaustiveness-check": "error",
"filenames/match-regex": [2, "^[a-z][a-z0-9.-]*$"],
"filenames/match-exported": [2, "kebab"],
},
root: true,
};
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
"name": "eslint-config-two-stroke",
"description": "eslint settings for two-stroke.",
"license": "MIT",
"version": "1.0.1",
"version": "1.0.2",
"main": "index.js",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-typescript": "^3.0.0"
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3"
},
"packageManager": "[email protected]",
"prettier": {
Expand All @@ -18,4 +22,4 @@
"eslint": "^8.57.0",
"typescript": "^5.4.5"
}
}
}
Loading

0 comments on commit 98bc153

Please sign in to comment.