Skip to content

Commit

Permalink
feat(config): add new custom plugin to default shared config
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Jun 12, 2020
1 parent 63fc7ff commit 5dafa5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ const WARNING = 1;
const ERROR = 2;

module.exports = {
extends: ['eslint:recommended', 'standard'],
extends: [
'eslint:recommended',
'standard',
'plugin:@poool/eslint-plugin/recommended',
],
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
plugins: [
'babel',
'@poool/eslint-plugin',
],
rules: {
'comma-dangle': [WARNING, {
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"author": "Ugo Stephant <ugo@poool.fr>",
"license": "MIT",
"peerDependencies": {
"@poool/eslint-plugin": "^1.0.4",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0 || ^7.2.0",
"eslint-config-standard": "^14.1.1",
Expand All @@ -21,6 +22,7 @@
"eslint-plugin-standard": "^4.0.1"
},
"devDependencies": {
"@poool/eslint-plugin": "1.0.3",
"babel-eslint": "10.1.0",
"eslint": "7.2.0",
"eslint-config-standard": "14.1.1",
Expand Down

0 comments on commit 5dafa5d

Please sign in to comment.