Skip to content

Commit

Permalink
Merge pull request #43 from isuke/major-update
Browse files Browse the repository at this point in the history
Major update
  • Loading branch information
isuke authored Sep 20, 2023
2 parents 7804e32 + 617a83c commit d278001
Show file tree
Hide file tree
Showing 127 changed files with 38,567 additions and 26,339 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

86 changes: 59 additions & 27 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,71 @@
module.exports = {
"env": {
"es6": true,
"amd": true,
"node": true,
"browser": true
env: {
node: true,
},
"plugins": ["prettier"],
"extends": [
extends: [
"@vue/typescript/recommended",
"eslint:recommended",
"plugin:prettier/recommended"
"plugin:vue/vue3-essential",
"plugin:import/recommended",
"plugin:import/errors",
"plugin:import/warnings",
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
parser: "vue-eslint-parser",
parserOptions: {
ecmaVersion: "latest",
tsconfigRootDir: ".",
project: ["./tsconfig.json"],
sourceType: "module",
},
"rules": {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
plugins: ["@typescript-eslint", "import"],
settings: {
"import/resolver": {
typescript: {},
},
"import/extensions": [".ts"],
},
rules: {
"no-console": [process.env.NODE_ENV === "production" ? "error" : "warn", { allow: ["info", "warn", "error"] }],
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "warn",
"no-unused-vars": [
process.env.NODE_ENV === "production" ? "error" : "warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
},
],
"@typescript-eslint/no-unused-vars": [
process.env.NODE_ENV === "production" ? "error" : "warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
},
],
"import/no-unresolved": "error",
"import/extensions": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
ignorePackages: true,
pattern: {
js: "never",
ts: "never",
json: "always",
},
},
],
"prettier/prettier": [
"import/order": [
"error",
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 160,
"arrowParens": "always"
}
]
}
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
"pathGroupsExcludedImportTypes": ["builtin"],
"alphabetize": { order: "asc" },
"newlines-between": "always",
},
],
"vue/multi-word-component-names": "off",
},
}
4 changes: 2 additions & 2 deletions .git_consistent
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ subject:
required: true
description: The subject contains succinct description of the change
rules:
firstLatter: lower
firstLetter: lower
dotAtEnd: false
nonAscii: false
issueKeyword:
Expand All @@ -95,6 +95,6 @@ body:
required: false
description: The body contains details of the change
rules:
firstLatter: upper
firstLetter: upper
dotAtEnd: true
nonAscii: false
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test and Lint

on: [push]

jobs:
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 20.x
# cache: 'npm'
# - run: npm install
# - run: npm run build
# - run: npm run test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
- run: npm install
- run: npm run lint
10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
.DS_Store
node_modules
/dist
/tmp

.npmrc

/tests/e2e/videos/
/tests/e2e/screenshots/

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
Expand All @@ -24,4 +16,4 @@ yarn-error.log*
*.ntvs*
*.njsproj
*.sln
*.sw*
*.sw?
4 changes: 2 additions & 2 deletions .netlify/state.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"siteId": "42474e52-f9b2-407d-a357-cbdb32b10c42"
}
"siteId": "42474e52-f9b2-407d-a357-cbdb32b10c42"
}
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17.3
20.5.0
11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 160,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": false,
"quoteProps": "consistent",
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "always"
}
22 changes: 22 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-standard-scss", "stylelint-config-recommended-vue/scss", "stylelint-config-recess-order"],
"ignoreFiles": ["**/node_modules/**"],
"plugins": ["stylelint-order"],
"rules": {
"color-hex-length": "long",
"comment-whitespace-inside": null,
"no-descending-specificity": null,
"declaration-block-no-duplicate-properties": true,
"declaration-property-value-no-unknown": [
true,
{
"ignoreProperties": {
"/.+/": "/\\$.+/"
}
}
],
"selector-class-pattern": null,
"scss/comment-no-empty": null,
"scss/dollar-variable-empty-line-before": null
}
}
23 changes: 0 additions & 23 deletions README.adoc

This file was deleted.

29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# filter-of-kalandra [![Netlify Status](https://api.netlify.com/api/v1/badges/42474e52-f9b2-407d-a357-cbdb32b10c42/deploy-status)](https://app.netlify.com/sites/filter-of-kalandra/deploys)

**filter-of-kalandra** is next level *'Path of Exile'* filter generator.

## Development

### setup

```sh
$ npm install
```

### Compiles and hot-reloads for development

```sh
npm run serve
```

### Compiles and minifies for production

```sh
npm run build
```

### Lints and fixes files

```sh
npm run lint
```
4 changes: 2 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};
presets: ["@vue/cli-plugin-babel/preset"],
}
3 changes: 0 additions & 3 deletions cypress.json

This file was deleted.

Loading

0 comments on commit d278001

Please sign in to comment.