├── .eslintrc.json ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── pull_request_template.md └── workflows │ └── main.yaml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .prettierrc ├── LICENSE ├── README.md ├── commitlint.config.js ├── jest.config.js ├── jest.setup.js ├── package.json └── src ├── index.js ├── rules └── use-defensive-css │ ├── base.js │ ├── index.js │ └── index.test.js └── utils ├── findCustomProperties.js ├── findShorthandBackgroundRepeat.js └── findVendorPrefixes.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: yuschick 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.github/workflows/main.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .vscode 3 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | export default { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/jest.setup.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/package.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/index.js -------------------------------------------------------------------------------- /src/rules/use-defensive-css/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/rules/use-defensive-css/base.js -------------------------------------------------------------------------------- /src/rules/use-defensive-css/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/rules/use-defensive-css/index.js -------------------------------------------------------------------------------- /src/rules/use-defensive-css/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/rules/use-defensive-css/index.test.js -------------------------------------------------------------------------------- /src/utils/findCustomProperties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/utils/findCustomProperties.js -------------------------------------------------------------------------------- /src/utils/findShorthandBackgroundRepeat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/utils/findShorthandBackgroundRepeat.js -------------------------------------------------------------------------------- /src/utils/findVendorPrefixes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yuschick/stylelint-plugin-defensive-css/HEAD/src/utils/findVendorPrefixes.js --------------------------------------------------------------------------------