Last active
October 13, 2024 12:30
-
-
Save surenachiron/165ff53f1fced4bc731dda5dde6ac09f to your computer and use it in GitHub Desktop.
full DevTools configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2", | |
| "language": "fa,en", // if you use Persian | |
| "language": "en", // if you don't use Persian | |
| "useGitignore": true, | |
| "import": ["@cspell/dict-fa-ir/cspell-ext.json"], // delete this line if you don't use Persian lan | |
| "ignorePaths": ["node_modules"], | |
| "dictionaryDefinitions": [ | |
| { | |
| "name": "keywords", | |
| "description": "Project keywords", | |
| "path": "./keywords.txt" | |
| } | |
| ], | |
| "dictionaries": ["keywords"] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root = true | |
| [*] | |
| chareset = utf-8 | |
| end_of_line = lf | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true | |
| [*.{js,ts,tsx}] | |
| curly_bracket_next_line = false | |
| spaces_around_brackets = inside |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| root: true, | |
| env: { browser: true, es2020: true }, | |
| ignorePatterns: ["dist", ".husky", ".next"], | |
| parser: "@typescript-eslint/parser", | |
| plugins: ["prettier", "@typescript-eslint"], | |
| extends: [ | |
| "eslint:recommended", | |
| "prettier", | |
| "plugin:prettier/recommended", | |
| "plugin:@typescript-eslint/recommended", | |
| // "next/core-web-vitals", if you work with nextjs | |
| // "next/typescript", | |
| ], | |
| rules: { | |
| "no-redeclare": "off", | |
| "no-undef": "off", | |
| "linebreak-style": "off", | |
| "react/prop-types": "off", | |
| "prettier/prettier": "error", | |
| }, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "*.{js,ts,tsx}": ["prettier --write", "cspell --no-must-find-files", "eslint"] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "semi": true, | |
| "singleQuote": true, | |
| "trailingComma": "es5", | |
| "bracketSpacing": true, | |
| "tabWidth": 2, | |
| "arrowParens": "always", | |
| "printWidth": 120, | |
| "endOfLine": "lf" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| extends: ["@commitlint/config-conventional"], | |
| rules: { | |
| "type-empty": [2, "never"], | |
| "type-enum": [ | |
| 2, | |
| "always", | |
| [ | |
| "feat", | |
| "fix", | |
| "docs", | |
| "chore", | |
| "style", | |
| "refactor", | |
| "ci", | |
| "test", | |
| "revert", | |
| "perf", | |
| "vercel", | |
| ], | |
| ], | |
| }, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // cspell dictionary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment