Skip to content

Organize files #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
481b142
Create `utlis/camelize.js`
asamuzaK May 9, 2025
91c616b
Put generated files under 'generated/'
asamuzaK May 10, 2025
bc79035
Update prettier config
asamuzaK May 10, 2025
89e8ed6
Add minimum rules for scripts/* and test/*
asamuzaK May 10, 2025
187dba6
Add minimum rules
asamuzaK May 10, 2025
1f69378
Add camelcase rule
asamuzaK May 10, 2025
e931921
Add @domenic/eslint-config
asamuzaK May 10, 2025
2020a93
Update scripts/* files
asamuzaK May 10, 2025
b10cd21
Update eslint.config.mjs
asamuzaK May 10, 2025
625a191
Add undefined and null value handler to setters
asamuzaK May 11, 2025
e5789fd
Move shorthand and implicit functions
asamuzaK May 11, 2025
d7b6af2
Fix allFooProperties files
asamuzaK May 11, 2025
0b99676
Update CSSStyleDeclaration
asamuzaK May 11, 2025
2631245
Use Map() for shorthandFor
asamuzaK May 11, 2025
1d41217
Export object not function in generated properties
asamuzaK May 12, 2025
9b38fc9
Private fields and methods
asamuzaK May 12, 2025
d89caec
Get rid of `var`
asamuzaK May 12, 2025
1ea3a2a
Update CSSStyleDeclaration and add tests
asamuzaK May 13, 2025
98f095e
Remove jsdom and bring back onChangeCallback
asamuzaK May 13, 2025
b7b9c8b
Add PascalCase for webkit prefixed property
asamuzaK May 13, 2025
eea7b5b
Update generated properties
asamuzaK May 14, 2025
879f317
Add prepareValue() function and add tests
asamuzaK May 18, 2025
f00ba9f
Code cleanup and add test for JSDOM issue
asamuzaK May 18, 2025
faaf6d6
Update prepareValue()
asamuzaK May 19, 2025
a94d459
Update CSSStyleDecoration and properties files
asamuzaK May 19, 2025
7a105ca
Update parsers.js
asamuzaK May 19, 2025
032ba26
Export parse() of properties
asamuzaK May 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
npm-debug.log
lib/implementedProperties.js
lib/properties.js
lib/generated/implementedProperties.js
lib/generated/properties.js
37 changes: 25 additions & 12 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import domenicConfig from "@domenic/eslint-config";
import prettierRecommended from "eslint-plugin-prettier/recommended";
import globals from "globals";

export default [
{
ignores: ['lib/implementedProperties.js', 'lib/properties.js'],
ignores: ["lib/generated/*"]
},
{
files: ['**/*.js'],
files: ["**/*.js"],
languageOptions: {
sourceType: 'commonjs',
},
sourceType: "commonjs"
}
},
eslintPluginPrettierRecommended,
...domenicConfig,
prettierRecommended,
{
files: ['scripts/**/*'],
rules: {
'no-console': 'off',
},
"consistent-return": "off",
"func-style": "off",
"prefer-destructuring": "off",
"require-unicode-regexp": "off"
}
},
{
files: ['scripts/**/*', 'tests/**/*'],
files: ["scripts/**/*"],
languageOptions: {
globals: globals.node,
globals: globals.node
},
rules: {
"no-console": "off"
}
},
{
files: ["test/**/*"],
languageOptions: {
globals: globals.node
}
}
];
Loading