Skip to content

Commit

Permalink
@timedia/eslint-config パッケージのベースを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
epaew committed Jun 6, 2022
1 parent 0185e25 commit 2313c07
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
ecmascript/**/node_modules
ecmascript/package-lock.json
ecmascript/yarn.lock
ruby/Gemfile.lock
4 changes: 4 additions & 0 deletions ecmascript/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
env:
node: true
extends:
- "@timedia"
10 changes: 10 additions & 0 deletions ecmascript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"@timedia/eslint-config": "*",
"eslint": "^8.17.0"
}
}
5 changes: 5 additions & 0 deletions ecmascript/packages/eslint-config/configs/eslint.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
extends: [
"eslint:recommended",
],
};
5 changes: 5 additions & 0 deletions ecmascript/packages/eslint-config/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
extends: [
"./configs/eslint.js",
],
};
14 changes: 14 additions & 0 deletions ecmascript/packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@timedia/eslint-config",
"version": "0.1.0",
"description": "The default ESLint configuration for TIMEINTERMEDIA, Inc.",
"main": "index.js",
"repository": "https://github.com/timedia/styleguide.git",
"author": "Ryo MAEDA",
"devDependencies": {
"eslint": "^8.17.0"
},
"peerDependencies": {
"eslint": "^8.0.0"
}
}

0 comments on commit 2313c07

Please sign in to comment.