You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.3 KiB
YAML
65 lines
1.3 KiB
YAML
gemfile: false
|
|
verify_signatures: false
|
|
|
|
PreCommit:
|
|
BundleCheck:
|
|
enabled: true
|
|
|
|
EsLint:
|
|
enabled: true
|
|
required_executable: npx
|
|
command: ["npx", "--no-install", "eslint", "-f", "compact"]
|
|
include:
|
|
- app/assets/**/*.js
|
|
- app/assets/**/*.jsx
|
|
- app/components/**/*.js
|
|
- app/components/**/*.jsx
|
|
- app/frontend/**/*.js
|
|
- app/frontend/**/*.jsx
|
|
- app/javascript/**/*.js
|
|
- app/javascript/**/*.jsx
|
|
|
|
FixMe:
|
|
enabled: true
|
|
keywords: ["FIXME"]
|
|
exclude:
|
|
- .overcommit.yml
|
|
|
|
LocalPathsInGemfile:
|
|
enabled: true
|
|
|
|
RailsSchemaUpToDate:
|
|
enabled: true
|
|
|
|
RuboCop:
|
|
enabled: true
|
|
required_executable: bundle
|
|
command: ["bundle", "exec", "rubocop"]
|
|
on_warn: fail
|
|
|
|
Stylelint:
|
|
enabled: true
|
|
required_executable: npx
|
|
command: ["npx", "--no-install", "stylelint"]
|
|
include:
|
|
- app/assets/**/*.css
|
|
- app/assets/**/*.scss
|
|
- app/components/**/*.css
|
|
- app/components/**/*.scss
|
|
- app/frontend/**/*.css
|
|
- app/frontend/**/*.scss
|
|
- app/javascript/**/*.css
|
|
- app/javascript/**/*.scss
|
|
|
|
TrailingWhitespace:
|
|
enabled: true
|
|
exclude:
|
|
- "**/db/structure.sql"
|
|
|
|
YarnCheck:
|
|
enabled: true
|
|
|
|
PostCheckout:
|
|
ALL:
|
|
quiet: true
|