This repository was archived by the owner on Jun 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: fix lint (self host fox-suite). closes #2
- Loading branch information
1 parent
5b54ea3
commit 94d5930
Showing
165 changed files
with
31,288 additions
and
31,002 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// this is a non-standard htmlhint configuration file | ||
// (meaning only .htmlhintrc is usually valid) | ||
|
||
/** | ||
* @param {import("fox-types/types").IFoxConfig} [fox] - `fox.config.js` configuration object | ||
* @return {Record<string, any>} | ||
*/ | ||
export default function(fox) { | ||
return { | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
/** | ||
* @param {import("fox-types/types").IFoxConfig} [fox] - `fox.config.js` configuration object | ||
* @return {Record<string, any>} | ||
*/ | ||
export default function(fox) { | ||
|
||
} |
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
dist/ | ||
build/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
{ | ||
"deno.enable": false | ||
"deno.enable": false, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"eslint.enable": true, | ||
"eslint.packageManager": "yarn", | ||
"eslint.validate": [ | ||
"vue", | ||
"html", | ||
"javacsript" | ||
], | ||
"eslint.options": { | ||
"configFile": ".config/build/eslint.config.js" | ||
} | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export default { | ||
all: 'strict' | ||
} | ||
all: 'strict', | ||
env: ['node'], | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"packages": [ | ||
"packages/**", | ||
"test" | ||
], | ||
"version": "0.1.1" | ||
"packages": ["packages/**", "test"], | ||
"version": "0.1.1" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* @param {import("fox-types/types").IFoxConfig} [fox] - `fox.config.js` configuration object | ||
* @return {Record<string, any>} | ||
*/ | ||
export default function (fox) { | ||
return { | ||
'default': false, | ||
'heading-increment': 'atx', | ||
'ul-style': { | ||
style: 'asterisk', | ||
}, | ||
'list-indent': true, | ||
'ul-start-left': true, | ||
'ul-indent': { | ||
indent: 4, | ||
}, | ||
'no-trailing-spaces': true, | ||
'no-hard-tabs': true, | ||
'no-reversed-links': true, | ||
'no-multiple-blanks': true, | ||
'no-missing-space-atx': true, | ||
'no-multiple-space-atx': true, | ||
'blanks-around-headings': true, | ||
'heading-start-left': true, | ||
'no-trailing-punctuation': { | ||
punctuation: '.,;:!', | ||
}, | ||
'no-multiple-space-blockquote': true, | ||
'no-blanks-blockquote': true, | ||
'ol-prefix': { | ||
style: 'ordered', | ||
}, | ||
'list-marker-space': true, | ||
'blanks-around-fences': true, | ||
'blanks-around-lists': true, | ||
'no-bare-urls': true, | ||
'hr-style': '---', | ||
'no-space-in-emphasis': true, | ||
'no-space-in-links': true, | ||
'fenced-code-language': true, | ||
}; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
export default { | ||
preset: 'ts-jest', | ||
setupFilesAfterEnv: [ | ||
"jest-extended" | ||
], | ||
} | ||
preset: 'ts-jest', | ||
setupFilesAfterEnv: ['jest-extended'], | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
{ | ||
"name": "eslint-config-fox", | ||
"description": "ESLint configuration for Fox Suite", | ||
"version": "0.3.4", | ||
"keywords": [ | ||
"eslint", | ||
"fox", | ||
"eslint-config", | ||
"fox-suite" | ||
], | ||
"homepage": "https://github.com/eankeen/fox-suite/tree/dev/eslint-config-fox#readme", | ||
"bugs": { | ||
"url": "https://github.com/eankeen/fox-suite/issues" | ||
}, | ||
"author": { | ||
"name": "Edwin Kofler", | ||
"url": "https://edwinkofler.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/eankeen/fox-suite.git" | ||
}, | ||
"main": "build", | ||
"license": "MIT", | ||
"type": "commonjs", | ||
"engines": { | ||
"node": ">=12.17.0 >=v13.14.0 >=14.3.0" | ||
}, | ||
"scripts": { | ||
"start": "ts-node src", | ||
"watch": "tsc --build --watch", | ||
"build": "tsc --build", | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.2.0", | ||
"fox-types": "workspace:^0.3.4", | ||
"jest": "^26.0.1", | ||
"jest-extended": "^0.11.5", | ||
"np": "^6.2.4", | ||
"ts-jest": "^26.1.0", | ||
"typescript": "^3.9.5" | ||
}, | ||
"peerDependencies": { | ||
"eslint": "^7.2.0" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "^10.1.0", | ||
"colorette": "^1.2.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-simple-import-sort": "^5.0.3", | ||
"lodash.mergewith": "^4.6.2", | ||
"pnpm": "^5.1.8", | ||
"read-pkg-up": "^7.0.1" | ||
} | ||
"name": "eslint-config-fox", | ||
"description": "ESLint configuration for Fox Suite", | ||
"version": "0.3.4", | ||
"keywords": [ | ||
"eslint", | ||
"fox", | ||
"eslint-config", | ||
"fox-suite" | ||
], | ||
"homepage": "https://github.com/eankeen/fox-suite/tree/dev/eslint-config-fox#readme", | ||
"bugs": { | ||
"url": "https://github.com/eankeen/fox-suite/issues" | ||
}, | ||
"author": { | ||
"name": "Edwin Kofler", | ||
"url": "https://edwinkofler.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/eankeen/fox-suite.git" | ||
}, | ||
"main": "build", | ||
"license": "MIT", | ||
"type": "commonjs", | ||
"engines": { | ||
"node": ">=12.17.0 >=v13.14.0 >=14.3.0" | ||
}, | ||
"scripts": { | ||
"start": "ts-node src", | ||
"watch": "tsc --build --watch", | ||
"build": "tsc --build", | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.2.0", | ||
"fox-types": "workspace:^0.3.4", | ||
"jest": "^26.0.1", | ||
"jest-extended": "^0.11.5", | ||
"np": "^6.2.4", | ||
"ts-jest": "^26.1.0", | ||
"typescript": "^3.9.5" | ||
}, | ||
"peerDependencies": { | ||
"eslint": "^7.2.0" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "^10.1.0", | ||
"colorette": "^1.2.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-import": "^2.21.2", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-simple-import-sort": "^5.0.3", | ||
"lodash.mergewith": "^4.6.2", | ||
"pnpm": "^5.1.8", | ||
"read-pkg-up": "^7.0.1" | ||
} | ||
} |
Oops, something went wrong.