meta: arclint: add few more rules
Summary: I probably want few more rules (ie. csslint) Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: `arc lint` Reviewers: #acl_sudoers, #blessed_reviewers, revi Reviewed By: #acl_sudoers, #blessed_reviewers, revi Differential Revision: https://issuetracker.revi.xyz/D20
This commit is contained in:
parent
c628542223
commit
d45c16bde1
7 changed files with 254 additions and 11 deletions
12
.arclint
12
.arclint
|
@ -1,7 +1,17 @@
|
|||
{
|
||||
"linters": {
|
||||
"merge-conflict": {
|
||||
"type": "merge-conflict"
|
||||
},
|
||||
"nolint": {
|
||||
"type": "nolint"
|
||||
},
|
||||
"PHP Error Check": {
|
||||
"type": "php"
|
||||
"type": "php",
|
||||
"include": "(\\.php$)"
|
||||
},
|
||||
"spelling": {
|
||||
"type": "spelling"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -15,18 +15,22 @@ trim_trailing_whitespace = true
|
|||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[.arc*]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
# Tabs may not be valid YAML
|
||||
# @see https://yaml.org/spec/1.2/spec.html#id2777534
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
[*.{json,yml,yaml}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
# yaml-lint configuration
|
||||
# YAML files should be indented with spaces, which .yamllint is
|
||||
[.yamllint]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[.git/**]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
|
24
.github/dependabot.yml
vendored
24
.github/dependabot.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
# https://stuff.revi.xyz/u/dependabot
|
||||
# https://issuetracker.revi.xyz/u/dependabot
|
||||
# for documentation link
|
||||
|
||||
version: 2
|
||||
|
@ -6,8 +6,28 @@ updates:
|
|||
|
||||
# Maintain dependencies for GitHub Actions
|
||||
- package-ecosystem: "github-actions"
|
||||
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
|
||||
assignees:
|
||||
- "revi"
|
||||
# Workflow files stored in the default location of `.github/workflows`.
|
||||
# (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "monday"
|
||||
time: "10:00"
|
||||
timezone: "Asia/Seoul"
|
||||
target-branch: "master"
|
||||
labels: []
|
||||
# Maintain dependencies for NPM
|
||||
- package-ecosystem: "npm"
|
||||
assignees:
|
||||
- "revi"
|
||||
# npm packages are stored in the default location of `package.json`.
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
day: "monday"
|
||||
time: "10:00"
|
||||
timezone: "Asia/Seoul"
|
||||
target-branch: "master"
|
||||
labels: []
|
||||
|
|
146
.gitignore
vendored
146
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
|||
# Created by https://www.toptal.com/developers/gitignore/api/linux,macos,windows
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,macos,windows
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/linux,macos,windows,node
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,macos,windows,node
|
||||
|
||||
### Linux ###
|
||||
*~
|
||||
|
@ -49,6 +49,146 @@ Temporary Items
|
|||
# iCloud generated files
|
||||
*.icloud
|
||||
|
||||
### Node ###
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# Snowpack dependency directory (https://snowpack.dev/)
|
||||
web_modules/
|
||||
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional stylelint cache
|
||||
.stylelintcache
|
||||
|
||||
# Microbundle cache
|
||||
.rpt2_cache/
|
||||
.rts2_cache_cjs/
|
||||
.rts2_cache_es/
|
||||
.rts2_cache_umd/
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variable files
|
||||
.env
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.local
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
.parcel-cache
|
||||
|
||||
# Next.js build output
|
||||
.next
|
||||
out
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
dist
|
||||
|
||||
# Gatsby files
|
||||
.cache/
|
||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||
# public
|
||||
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
|
||||
# vuepress v2.x temp and cache directory
|
||||
.temp
|
||||
|
||||
# Docusaurus cache and generated files
|
||||
.docusaurus
|
||||
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
|
||||
# FuseBox cache
|
||||
.fusebox/
|
||||
|
||||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
|
||||
# Stores VSCode versions used for testing VSCode extensions
|
||||
.vscode-test
|
||||
|
||||
# yarn v2
|
||||
.yarn/cache
|
||||
.yarn/unplugged
|
||||
.yarn/build-state.yml
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
### Node Patch ###
|
||||
# Serverless Webpack directories
|
||||
.webpack/
|
||||
|
||||
# Optional stylelint cache
|
||||
|
||||
# SvelteKit build / generate output
|
||||
.svelte-kit
|
||||
|
||||
### Windows ###
|
||||
# Windows thumbnail cache files
|
||||
Thumbs.db
|
||||
|
@ -75,4 +215,4 @@ $RECYCLE.BIN/
|
|||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/linux,macos,windows
|
||||
# End of https://www.toptal.com/developers/gitignore/api/linux,macos,windows,node
|
||||
|
|
3
CODEOWNERS
Normal file
3
CODEOWNERS
Normal file
|
@ -0,0 +1,3 @@
|
|||
# https://issuetracker.revi.xyz/u/GHCODEOWNERS
|
||||
|
||||
* @revi
|
61
package-lock.json
generated
Normal file
61
package-lock.json
generated
Normal file
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"name": "sandbox",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"csslint": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"node_modules/clone": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
|
||||
"engines": {
|
||||
"node": ">=0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/csslint": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/csslint/-/csslint-1.0.5.tgz",
|
||||
"integrity": "sha512-GXGpPqGIuEBKesM4bt2IKFrzDKpemh9wVZRHVuculUErar554QrXHOonhgkBOP3uiZzbAETz0N2A4oWlIoxPuw==",
|
||||
"dependencies": {
|
||||
"clone": "~2.1.0",
|
||||
"parserlib": "~1.1.1"
|
||||
},
|
||||
"bin": {
|
||||
"csslint": "dist/cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/parserlib": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/parserlib/-/parserlib-1.1.1.tgz",
|
||||
"integrity": "sha512-e1HbF3+7ASJ/uOZirg5/8ZfPljTh100auNterbHB8TUs5egciuWQ2eX/2al8ko0RdV9Xh/5jDei3jqJAmbTDcg=="
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"clone": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
|
||||
},
|
||||
"csslint": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/csslint/-/csslint-1.0.5.tgz",
|
||||
"integrity": "sha512-GXGpPqGIuEBKesM4bt2IKFrzDKpemh9wVZRHVuculUErar554QrXHOonhgkBOP3uiZzbAETz0N2A4oWlIoxPuw==",
|
||||
"requires": {
|
||||
"clone": "~2.1.0",
|
||||
"parserlib": "~1.1.1"
|
||||
}
|
||||
},
|
||||
"parserlib": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/parserlib/-/parserlib-1.1.1.tgz",
|
||||
"integrity": "sha512-e1HbF3+7ASJ/uOZirg5/8ZfPljTh100auNterbHB8TUs5egciuWQ2eX/2al8ko0RdV9Xh/5jDei3jqJAmbTDcg=="
|
||||
}
|
||||
}
|
||||
}
|
5
package.json
Normal file
5
package.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"csslint": "^1.0.5"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue