https://github.com/phts/usestrict
Package for Sublime Text 3. Insert "use strict" directive to the top of the file.
https://github.com/phts/usestrict
sublime-package sublime-text sublime-text-3 use-strict
Last synced: 3 months ago
JSON representation
Package for Sublime Text 3. Insert "use strict" directive to the top of the file.
- Host: GitHub
- URL: https://github.com/phts/usestrict
- Owner: phts
- License: mit
- Created: 2018-08-20T15:01:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-25T13:18:27.000Z (over 6 years ago)
- Last Synced: 2025-01-27T06:32:14.099Z (5 months ago)
- Topics: sublime-package, sublime-text, sublime-text-3, use-strict
- Language: Python
- Homepage: https://packagecontrol.io/packages/UseStrict
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UseStrict
[](https://packagecontrol.io/packages/UseStrict)
Package for Sublime Text 3.
Insert "use strict" directive to the top of the file.## Install
**Via Package Control**:
Open Command Palette → `Package Control: Install Package` → `UseStrict`
## Usage
Run command `UseStrict: Insert "use strict" to the top of the file` and
it will append `'use strict'` to the top of the active file.## Settings
```js
{
// Whether to insert semicolon after the "use strict" directive
"semicolon": false,// String quote symbol to use in the "use strict" directive. Can be "'", "\"" or even any string.
"quote_symbol": "'",
}
```