-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Decidim version updated to 0.29.1 * concurrent-ruby error fixed and babel.config.json deleted * Admin panel test fixed * Linters config files updated * package.json updated to use decidim 0.29 and new linters * Apps generation rakes fixed * Linted * Use ubuntu-latest for test CI * Test CI updated * package.json updated * config/shakapacker.yml deleted * Install JS dependencies for test CI * Unnecessary precompilation deleted from CI test * imagemagick installed for CI * Replace codecov with coveralls * Gemfile.lock updated * Calendar colors fixed * Linted * JQuery removed
- Loading branch information
Showing
39 changed files
with
18,573 additions
and
5,216 deletions.
There are no files selected for viewing
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,25 +1,11 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 12, | ||
"sourceType": "module" | ||
"extends": "@decidim", | ||
"rules": { | ||
"no-invalid-this": "off" | ||
}, | ||
"globals": { | ||
"$": false, | ||
"jQuery": false, | ||
"L": false, | ||
"ApiFetcher": false, | ||
"FormStorage": false, | ||
"Quill": false, | ||
"InscrybMDE": false, | ||
"inlineAttachment": false | ||
}, | ||
"rules": { | ||
"Calendar": "readonly", | ||
"timeGridPlugin": "readonly", | ||
"dayGridPlugin": "readonly" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -5,11 +5,12 @@ on: | |
pull_request: | ||
|
||
env: | ||
RUBY_VERSION: 3.1.1 | ||
RUBY_VERSION: 3.2.2 | ||
NODE_VERSION: 18.17.1 | ||
|
||
jobs: | ||
lint-report: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -20,7 +21,17 @@ jobs: | |
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true | ||
|
||
- name: Lint and Rubocop | ||
run: | | ||
bundle exec rubocop -P | ||
bundle exec erblint app/**/*.erb | ||
- run: npm ci | ||
name: Install JS deps | ||
|
||
- run: npm run lint | ||
name: Lint JS files | ||
|
||
- run: npm run stylelint | ||
name: Lint SCSS files | ||
|
||
- run: bundle exec rubocop -P | ||
name: Lint Ruby files | ||
|
||
- run: bundle exec erblint app/**/*.erb | ||
name: Lint ERB files |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.