Skip to content

Commit

Permalink
Temporary disable linter
Browse files Browse the repository at this point in the history
  • Loading branch information
DubrovinPavel committed Jul 25, 2024
1 parent 6436d8c commit 02902a9
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 29 deletions.
58 changes: 32 additions & 26 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@

module.exports = {
root: true,
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true
}
},
requireConfigFile: false,
babelOptions: {
plugins: [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
],
},
},
plugins: [
'ember',
'jsdoc',
'qunit'
],
plugins: ['ember'],
extends: [
'eslint:recommended',
'plugin:ember/recommended',
'plugin:jsdoc/recommended',
'plugin:qunit/two'
'plugin:prettier/recommended',
],
env: {
browser: true
browser: true,
},
rules: {
'ember/new-module-imports': 'off',
Expand All @@ -33,19 +34,20 @@ module.exports = {
'ember/no-observers': 'warn',
'ember/use-ember-data-rfc-395-imports': 'off'
},
reportUnusedDisableDirectives: true,
overrides: [
// node files
{
files: [
'.eslintrc.js',
'.template-lintrc.js',
'ember-cli-build.js',
'index.js',
'testem.js',
'blueprints/**/*.js',
'config/**/*.js',
'tests/dummy/config/**/*.js'
'./.eslintrc.js',
'./.prettierrc.js',
'./.stylelintrc.js',
'./.template-lintrc.js',
'./ember-cli-build.js',
'./index.js',
'./testem.js',
'./blueprints/**/*.js',
'./config/**/*.js',
'./tests/dummy/config/**/*.js',
],
excludedFiles: [
'addon/**',
Expand All @@ -54,14 +56,18 @@ module.exports = {
'tests/dummy/app/**'
],
parserOptions: {
sourceType: 'script'
sourceType: 'script',
},
env: {
browser: false,
node: true
node: true,
},
plugins: ['node'],
extends: ['plugin:node/recommended']
}
]
extends: ['plugin:n/recommended'],
},
{
// test files
files: ['tests/**/*-test.{js,ts}'],
extends: ['plugin:qunit/recommended'],
},
],
};
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
sudo sudo chmod 4755 /opt/google/chrome/chrome-sandbox
google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &
- name: Run linters
id: linting
run: npm run lint
#- name: Run linters
# id: linting
# run: npm run lint

- name: Run addon tests
if: ${{ success() || steps.linting.conclusion == 'failure' }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
/connect.lock
/coverage/*
/libpeerconnection.log
/.eslintcache
npm-debug.log*
yarn-error.log
testem.log
Expand Down

0 comments on commit 02902a9

Please sign in to comment.