Skip to content

Commit

Permalink
chore: remove eslint deps and use checkly eslint config (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
umutuzgur authored Dec 20, 2021
1 parent 3200a50 commit 232d622
Show file tree
Hide file tree
Showing 73 changed files with 1,200 additions and 508 deletions.
12 changes: 6 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module.exports = {
node: true,
commonjs: true,
es2021: true,
mocha: true,
mocha: true
},
parser: 'babel-eslint',
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
plugins: ['prettier'],
parser: '@babel/eslint-parser',
extends: ['@checkly/eslint-config', '@checkly/eslint-config/node'],
parserOptions: {
ecmaVersion: 12,
},
requireConfigFile: false,
ecmaVersion: 12
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ node_modules
oclif.manifest.json
local
.env*
.eslintcache
4 changes: 0 additions & 4 deletions .prettierrc.json

This file was deleted.

8 changes: 4 additions & 4 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'header-max-length': [2, 'always', 100],
'references-empty': [0, 'never'],
'references-empty': [0, 'never']
},
parserPreset: {
parserOpts: {
issuePrefixes: ['[ch'],
},
},
issuePrefixes: ['[ch']
}
}
}
Loading

0 comments on commit 232d622

Please sign in to comment.