Skip to content

Commit

Permalink
Merge pull request #1 from NullVoxPopuli/move-parser-and-add-boilerplate
Browse files Browse the repository at this point in the history
Move parser and add boilerplate
  • Loading branch information
NullVoxPopuli authored Dec 18, 2023
2 parents 2a925de + 1488d82 commit 6996835
Show file tree
Hide file tree
Showing 13 changed files with 4,282 additions and 116 deletions.
24 changes: 24 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: ['standard', 'plugin:prettier/recommended'],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
ignorePatterns: ['tests/fixtures/**/*.js'],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {},
};
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

module.exports = {
printWidth: 100,
semi: true,
singleQuote: true,
trailingComma: 'es5',
};
22 changes: 20 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,29 @@
},
"license": "ISC",
"author": "",
"main": "index.js",
"main": "src/parser/gjs-ts-parser.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint ."
},
"devDependencies": {
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.0.0",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"release-plan": "^0.5.0"
},
"dependencies": {
"@babel/eslint-parser": "^7.23.3",
"@glimmer/syntax": "^0.85.13",
"@typescript-eslint/scope-manager": "^6.15.0",
"content-tag": "^1.2.2",
"eslint-scope": "^7.2.2",
"html-tags": "^3.3.1"
}
}
Loading

0 comments on commit 6996835

Please sign in to comment.