sachai-kya-hai / sachai_ui

0 stars 0 forks source link

Code Quality #11

Closed fuddin95 closed 11 months ago

fuddin95 commented 11 months ago

Some house keeping stuff

fuddin95 commented 11 months ago

.eslintignore

# dependencies
/node_modules
dist
# testing
/coverage
/reports

# production
/build
storybook-static

# misc
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

package.json
package-lock.json
tsconfig.json
public/manifest.json
fuddin95 commented 11 months ago

.eslintrc

{
  "root": true,
  "parser": "@typescript-eslint/parser",
  "settings": {
    "import/resolver": {
      "alias": {
        "map": [
          ["@e2e/scenarios", "./e2e_tests/scenarios"],
          ["@e2e/utilities", "./e2e_tests/utilities"]
        ],
        "extensions": [".js", ".jsx", ".ts", ".tsx", ".node"]
      }
    }
  },
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "prettier",
    "plugin:import/errors"
  ],
  "rules": {
    "camelcase": "error",
    "comma-dangle": ["error", "never"],
    "no-console": "error",
    // "jest/no-disabled-tests": "warn",
    // "jest/no-focused-tests": "warn",
    // "jest/no-identical-title": "error",
    // "jest/prefer-to-have-length": "warn",
    // "jest/valid-expect": "warn",
    "@typescript-eslint/no-unused-vars": "error",
    "@typescript-eslint/no-explicit-any": "off",
    "indent": ["error", 2],
    "eol-last": ["error", "always"],
    "import/newline-after-import": ["error", { "count": 1 }]
  }
}
fuddin95 commented 11 months ago

.prettierrc

{
  "printWidth": 80,
  "arrowParens": "avoid",
  "semi": true,
  "tabWidth": 2,
  "singleQuote": true,
  "trailingComma": "none"
}
fuddin95 commented 11 months ago

.github/CODEOWNERS

* @fuddin95 
*
fuddin95 commented 11 months ago

pull_request_template.md